VS Code

Live

Getting Started with Kognyt for VS Code

Install the extension, sign in, connect a Salesforce org, and start using org-aware AI workflows in VS Code or Cursor.

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

  1. Install the extension in VS Code, Cursor, or another VS Marketplace-compatible IDE.
  2. Open the Astra sidebar in the Explorer panel.
  3. Under Account, click Sign In, or run Kognyt: Log In.
  4. Under Salesforce Orgs, click Connect Org, or run Kognyt: Connect Salesforce Org.
  5. Choose Production or Sandbox and complete the browser OAuth flow.
  6. 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 org when none is selected.

Next steps

Notes

  • Astra activates automatically in Salesforce projects when it finds sfdx-project.json or sf-project.json.
  • Kognyt for VS Code is currently free during beta. Processing limits apply.