EveryAppEveryApp
Providers

Turso

Turso's Platform API: databases, groups, locations and usage for one organization.

Turso's Platform API: databases, groups, locations and usage for one organization.

API key: Turso

  1. Open docs.turso.tech and create an API key with only the access your apps need.
  2. Copy it. It may be shown only once.

What to create: An organization-scoped Platform API token (turso auth api-tokens mint <name> --org <org>).

Add it to your Gateway. It asks for the key:

everyapp provider add turso

Use it in an app

In the app's everyapp.config.ts:

capabilities: {
  turso: { access: "read", why: "What the app does with it." },
},

The app calls Turso's API with integrationFetch(), and the Gateway adds the key. Use "write" if the app changes things. More in API providers.

Check it worked: everyapp provider show turso shows the key as set.

API key: Turso database

SQL over HTTP to one Turso database: queries, dumps and migration status.

  1. Open docs.turso.tech and create an API key with only the access your apps need.
  2. Copy it. It may be shown only once.

What to create: A database token (turso db tokens create <db>) and the database's HTTP host.

Add it to your Gateway. It asks for the key:

everyapp provider add turso-db

Use it in an app

In the app's everyapp.config.ts:

capabilities: {
  "turso-db": { access: "read", why: "What the app does with it." },
},

The app calls Turso database's API with integrationFetch(), and the Gateway adds the key. Use "write" if the app changes things. More in API providers.

Check it worked: everyapp provider show turso-db shows the key as set.

Something wrong or missing? Open an issue.

On this page