Skip to main content
License setup

Generate a Tabnyth license key

Connect Nyth AI inside the local Tabnyth package to your account credits by adding one key to your app's environment.

Recommended setup

Use `.env` in your project root.

1

Add the placeholder if setup was skipped

npx tabnyth setup
2

Paste the generated key into .env

# Paste your Tabnyth license key here
TABNYTH_KEY=tnk_your_license_key
3

Run the local studio

npx tabnyth --env DATABASE_URL

Sign in to Tabnyth

Open your dashboard so the license key can be tied to your account and credit balance.

Generate a license key

Create or regenerate your active package key from the dashboard. Treat the full key like a secret.

Paste it into .env

The package reads TABNYTH_KEY from your app's .env file, with process env taking priority.

Run Tabnyth locally

Start the studio with your database URL. Nyth AI requests will use the configured key.

How it works

One key connects local AI features to your account.

`TABNYTH_KEY` lets the local package authorize Nyth AI requests through your Tabnyth account. Keep it private, do not commit it, and regenerate it from the dashboard if it is exposed.

Process env is checked before the .env file.
The package still supports legacy tabnyth.config.json as a fallback.
Credits are managed in the Tabnyth dashboard.

Local development override

Point the package at a local backend when needed.

TABNYTH_API_URL=http://localhost:8080 \
npx tabnyth --url "postgresql://user:pass@localhost:5432/mydb"

In production-like usage, you normally only need `TABNYTH_KEY` and your database URL or `DATABASE_URL` env var.