Skip to main content

Environment Variables

You can add keys, secrets, tokens, database credentials, or other useful variables inside a .env file, just like you would when buliding other software.

This way, only you have access to your secrets, tokens, and keys and you can add anything you want.

Creds in the .env file are not shared with Dropbase.

Adding Environment Variables

In the same .env file where you have your DROPBASE_TOKEN and DROPBASE_API_URL, you can add any other environment variable you need.

You can freely add any environment variable you need. For example, if you add a Stripe API key and some other secret variable to your .env file, the resulting file would look like this:


DROPBASE_TOKEN='YOUR_WORKSPACE_TOKEN'
DROPBASE_API_URL="https://api.dropbase.io"

# STRIPE API KEY
STRIPE_KEY="YOUR_STRIPE_KEY"

# OTHER SECRET VARIABLE
OTHER_VARIABLE="YOUR_OTHER_SECRET_VARIABLE"