Generate an API key
Every Code Dashboard script needs an API key to authenticate to axiom.ai's hosted browser. Generate the key once and reuse it across your scripts.
Generate an API key
- In the Code Dashboard, navigate to Settings > API key.
- Click Create API key.
- Wait a few seconds while the key is generated.
- Copy the key and store it securely.
Warning: The key is shown once and can't be retrieved again. If you lose it, you'll need to generate a new one. We recommend storing it in a password manager or environment variable file before closing the dialog.
For an example of using the API key in a Puppeteer script, see create scripts.