Skip to content

Authentication and API keys

Generate a key

assets/screenshots/api-key-generation.png — the account page with the API key section.

Where to put it

export DATALAB_API_KEY="..."

Never commit an API key

A key carries your full permissions. Keep it in an environment variable or a secrets file that is git-ignored — not in the notebook you are about to share.

Key lifetime and revocation