Connecting an Instance

Connect SNcode directly to a ServiceNow instance so it can browse tables, inspect records, and run the scripts it generates — all with credentials that never leave your Mac.

What you'll need

  • Your instance URL — e.g. https://acme.service-now.com
  • A username and password, with the roles your work requires
  • Access to the tables and APIs you plan to work against

Add a connection

  1. 1

    Open the instance manager modal

    From the workspace, add a new ServiceNow instance.
  2. 2

    Enter the URL and credentials

    Paste your instance URL and sign-in details. SNcode stores them in local, app-scoped storage on your device.
  3. 3

    Verify the connection

    SNcode confirms it can reach the instance. Once green, the AI can read schema and execute against it.

Where credentials live

Instance URLs and API credentials are stored only on your device. They are not collected, stored, or accessible by SNcode's servers. When the AI runs a query or a script, the request goes from your Mac to your instance — not through us.

Use least privilege

Connect with an account scoped to what you actually need. For anything touching production, prefer a sub-production or developer instance first, and lean on the sandbox review model before you run against live data.

Multiple instances

You can manage several clients from one workspace — switch between them with per-instance context and credentials, so Acme Corp and GlobalBank never bleed into each other.

Next

With an instance connected, the important question becomes: how does SNcode run code safely? That's the sandbox model.