Create an API key for a backend, script, or MCP client that needs access to Veryfront. Browser applications must call through a trusted backend rather than exposing the key.
Create and store the key
- Sign in to Veryfront and open the intended project in Studio.
- Open API Keys and create a key for the client.
- Store the value in the client's secret store or a local environment file excluded from source control.
Record which client uses the key so you know what replacement or revocation will affect.
Verify its access
Follow the Cloud quickstart to make an authenticated GET /projects request. Confirm the intended project appears in the response's data array.
If the request returns an unexpected project or no project, check the key's project context and access before adding it to the client.
Replace or revoke a key
To replace a key, create a new one, update the client, and verify an authenticated request with the replacement. Revoke the old key after the client no longer depends on it.
If a key is exposed, revoke it and configure a replacement. Removing the value from a file doesn't invalidate the credential.
Next
- Connect to the AI gateway: Configure a coding client or application SDK with a project key.
- Authenticate API requests: Send bearer credentials and diagnose authentication failures.
- Use MCP API: Configure an assistant client.