VS Code

Org Selection and Sync

Choose the active Salesforce org, understand how Astra stores that selection, and refresh connected-org data.

Astra can list multiple connected orgs, but org-aware tools run against one active org at a time.

Select the active org

  • click the status bar item, or run Kognyt: Select Org
  • select an org directly from the Salesforce Orgs section in the Astra sidebar
  • the active org is marked in the sidebar and shown in the status bar

How selection works

  • Astra stores the active org in extension state and restores it later.
  • If you have exactly one connected org after login, Astra auto-selects it.
  • If the saved org is no longer in the connection list, Astra clears the selection.

Refresh org data

Run Kognyt: Sync Org Metadata to reload connected org data in the extension and refresh the sidebar state.

Kognyt: No org in the status bar means no active org is selected.