Kognyt for VS Code is the primary live Kognyt product for connected-org work. It processes Salesforce org metadata to build Org Context so supported AI workflows can use your schema, code, automation, and related org context inside your editor.
Before you begin
- VS Code
1.99+ - a Kognyt account
- a Salesforce org for org-aware tools
Install and connect
- Install the extension in VS Code, Cursor, or another VS Marketplace-compatible IDE.
- Open the Astra sidebar in the Explorer panel.
- Under Account, click Sign In, or run
Kognyt: Log In. - Under Salesforce Orgs, click Connect Org, or run
Kognyt: Connect Salesforce Org. - Choose Production or Sandbox and complete the browser OAuth flow.
- Back in the editor, select the org Astra should use.
What the connection flow does
When you connect an org, Kognyt for VS Code:
- opens the Salesforce OAuth flow in your browser
- polls for the new org connection after OAuth completes
- auto-selects the newly connected org when it becomes available
If you run Kognyt: Connect Salesforce Org before signing in, the extension warns that you must log in first.
What happens next
- Astra exposes GitHub Copilot tools inside VS Code.
- Astra also includes a built-in MCP server for supported MCP workflows.
- If Astra sees exactly one connected org after login, it auto-selects it.
- The status bar shows the active org, or
Kognyt: No orgwhen none is selected.
Next steps
- Use Org Selection and Sync if you manage more than one connected org.
- Use Metadata Workflows for retrieve, deploy, validate, and drift inspection.
- Use Tools Reference for the full catalog of
kognyt_sf_*tools and where each one is available.
Notes
- Astra activates automatically in Salesforce projects when it finds
sfdx-project.jsonorsf-project.json. - Kognyt for VS Code is currently free during beta. Processing limits apply.