
| Authentication method | Sign-in screen | Where it’s typically used |
|---|---|---|
| Social login | Google · GitHub · Microsoft buttons | Cloud (SaaS) default |
| Username/password | Email · password entry form | On-premises |
| License key | License key registration | Standalone environments used without signing in |
Social login (default)
Click the sign-in button
Click the Sign in with Google button. Depending on your organization’s configuration, GitHub and Microsoft buttons may also appear.
Authenticate in the browser
Your default browser opens and shows the account authentication screen. Once you complete authentication, you’ll see the message “Signed in — return to VS Code to continue working.”
Username/password sign-in (on-premises)
In on-premises deployments, the sign-in screen shows an email and password entry form.
- Sign in — Enter the email and password you were issued.
- Sign up — If you don’t have an account, click “Don’t have an account? Sign up” and register with your name, email, and password.
If you forget your password, contact your organization administrator. The administrator issues a temporary password from the Admin console. Sign in with the temporary password you receive, then change your password.
License key registration (standalone)
In environments that use AI models registered directly without a backend server, you register a license key instead of signing in.
Register the license key
Run CodePilot: Register License Key and select the license key file you received.
Server address configuration
In on-premises environments, you must first specify the server address to connect to. In VS Code Settings (Ctrl+,), search for codepilot and enter the following items.
| Setting | Description | Default |
|---|---|---|
| Backend URL | Your organization’s server address | https://api-codepilot.banya.ai/api/v1 |
| Auth Mode | Authentication method (social login / username-password / standalone) | Social login |
Signing out
Run CodePilot: Sign Out from the Command Palette, or click the Sign out button in Settings → Account tab.Next steps
Connect an AI model
Choose an AI model, or register your own API key, and start using it right away

