Skip to main content
Multilingual TursoDB, MVCC & AI Agent database guides Read Engine Guide →
Turso Cloud Turso Cloud Embedded Replicas Platform Guides

Turso + Koyeb

Deploy a JavaScript/Rust app using [Turso Cloud embedded replicas](/features/embedded-replicas) to [Koyeb](https://www.koyeb.com/).

Koyeb banner

Prerequisites

Before you start, make sure you:

1. Retrieve database credentials

You will need an existing database to continue. If you don’t have one, create one.

Get the database URL:

turso db show --url <database-name>

Get the database authentication token:

turso db tokens create <database-name>

Assign credentials to the environment variables inside .env.

TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
NOTE

You will want to store these as environment variables.

Step 2

Fork one of the following embedded replica project from GitHub

NOTE

3. Add a new Koyeb app

  1. Create a new app in the Koyeb control panel.

  2. Select GitHub as the deployment option.

  3. Import the GitHub project to Koyeb.

4. Fill in the environment variables on Koyeb’s deploy page

Koyeb deploy page - environment variables

5. Deploy

Click the Deploy button at the bottom to deploy your web service.

Synced from official Turso documentation ( tursodatabase/turso-docs · MIT License) Official Docs ↗
Search
Press Esc to close · Powered by Pagefind