Quickstart

Sign up, create a database, create a database key and give your backend what it needs to connect.

This page takes you from no account to a database your backend can reach. Everything here is done in the dashboard; the same steps can be scripted with the management API.

Create an account

Open the sign-up page and enter your name, your email address and a password of at least 8 characters. If the sign-up page offers GitHub or Google, you can continue with one of them instead.

If the service asks you to verify your email address, open the link in the email it sends before you sign in.

Open your organization

A new account already has an organization, named after you. The dashboard opens in it, on the Databases page.

To work in a separate organization, for example one for your company, choose Add organization in the organization switcher and give it a name and a URL. See organizations.

Create a database

On the Databases page, choose Create database. Give it a name of up to 64 characters and pick a region. The region decides where the database's data is stored and cannot be changed later, so pick the one closest to your users.

The database starts in the provisioning state while it is created on a cluster in that region. Its page shows the progress, and it becomes ready when the cluster has confirmed it. See database lifecycle.

Create a database key

Open the database's Connect page. Its first step creates a database key: the credential your backend authenticates with.

Choose a name and a permission:

PermissionAllows
ReadReading documents and collections
WriteAlso changing documents
AdminAlso managing collections, migrations and token keys

Defining a collection needs an admin key. The key's secret starts with mk_ and is shown once: copy it into your backend's secret store before you leave the page. See database keys.

Configure your backend

The Connect page shows the database's addresses and fills them into samples. Put them in your backend's environment:

MIMIC_DATABASE_API_URL=<HTTP API address from the Connect page>
MIMIC_DATABASE_ADMIN_URL=<administration address from the Connect page>
MIMIC_DATABASE_KEY=mk_…

Requests to these addresses go straight to the database's cluster, with the database key as a bearer token. The page's next steps show sample requests with those variables: a first request, defining a collection, and letting your users open documents.

Connecting an application explains each address. The general quickstart covers collections, documents and the SDK.

Next steps