Connect and sign in
Point aimo at your organisation's gateway, sign in with the platform's identity provider, and what happens to your personal platform key.
For aimo 1.4.8 · checked against that release on 22 November 2026
On your organisation’s platform, aimo needs two things: the address of the gateway, and you, signed in. Everything else — which identity provider, which client, which models — it learns from the gateway.
Set the gateway address
Run AIMO: Set Gateway URL from the Command Palette (Ctrl+Shift+P, on macOS
Cmd+Shift+P) and enter the address your administrator gave you, for example
https://ai.corp.example. The first step of the walkthrough and the Tool Servers view offer
the same.
The address is kept in aimo.gatewayUrl in your own user settings. A repository’s
.vscode/settings.json cannot set it: opening a project can never send your sign-in somewhere
else. Each VS Code window keeps its own address, so two windows can use two gateways; see
One window, not the machine.
A new address takes effect at once, without a reload: aimo asks that gateway which identity
provider it uses, and the sign-in buttons name it. Until it has an answer, they say only
Sign in, and signing in asks the gateway first. An address with an empty part
(ai..corp.example), spaces, a user name or password, or a query is refused as you type it.
Sign in
aimo signs you in with the identity provider the platform itself uses — Microsoft Entra ID on some installations, an OpenID Connect provider such as Keycloak on others. It reads which one from the gateway, so there is nothing to configure.
- Click the AIMO icon and choose Sign in, or run AIMO: Sign in. A short code is copied to your clipboard and the sign-in page opens in your browser.
- Paste the code and finish signing in, as you would anywhere else with your corporate account.
- aimo exchanges that sign-in for your own platform key and keeps it in VS Code’s secret storage.
From then on every request carries that key: it is counted against your quota and rate limits, checked by your organisation’s policies, and listed on the platform’s activity and usage pages under your name. Each chat is one session there.
On a Keycloak installation the steps are the same; the knowledge base walks through one.
Your platform key
- It is yours, and only on this machine. The key is stored in VS Code’s secret storage, never in a setting, a log or a chat.
- Signing in on a second machine rotates it. The first machine notices on its next request and gets a new key by itself.
- A key the gateway stops accepting is replaced before it is let go. aimo gets a new one with your sign-in first; if it cannot, it keeps the old one and shows you what the gateway said.
- It is separate from other clients’ keys. A key another application minted for you is not touched by aimo’s sign-in or rotation.
- There is one per gateway. Windows on two different gateways keep two keys side by side, and neither replaces the other’s. Changing the gateway address removes no key.
Check who you are
AIMO: Show Account Status (or /status in a chat) shows the account you are signed in as,
your team, the first characters of your key, the model and its context window, your model
profile, the gateway, your tool servers and your vault. Its buttons open the log and the
platform’s announcements.
The platform’s announcements also arrive as VS Code notifications; aimo.notifications turns
that off, and AIMO: Show Platform Notifications lists them.
Sign out
AIMO: Sign out removes this gateway’s platform key from this machine and signs you out of the vault too; a key for another gateway stays. A sign-in or key request that was still under way when you signed out does not sign you back in. Sign in again any time.
Networks and certificates
- The gateway often answers only on the company network. Off it, or without the VPN, the gateway and the vault cannot be reached, and the sign-in says so.
- Both normally serve valid certificates. Where an installation uses a self-signed one, your
administrator may ask you to set
aimo.allowInsecureTls. It covers the gateway and the vault, never the Microsoft sign-in, and only your own user settings can set it.
When discovery is not enough
aimo.tenantId, aimo.clientId, aimo.issuer and aimo.apiScope override what the gateway
advertises about its sign-in. Leave them empty unless your administrator gives you values; like
the gateway address, they can be set only in your own user settings. See
Settings.