On this page

What's in a project

Every project comes with the same set of services, endpoints and credentials.

#Services and endpoints

ServiceEndpoint
REST APIhttps://<project-ref>.p.stitchdb.com/rest/v1/
Authhttps://<project-ref>.p.stitchdb.com/auth/v1/
Storagehttps://<project-ref>.p.stitchdb.com/storage/v1/
Realtimewss://<project-ref>.p.stitchdb.com/realtime/v1/
PostgresYour database host (Settings → Database) on port 5432 (session) and 6543 (transaction)
StudioOpen from your dashboard

#API keys

Each project has two API keys and a JWT secret: the public anon key for browsers and mobile apps, the secret service_role key for servers, and the JWT secret for verifying user tokens. See API keys.

#Database credentials

The database has its own owner user and password, used for connections with psql, ORMs and migration tools over TLS. See Connect to Postgres.

#Project reference and URL

Every project has a reference ID of 16 lowercase letters. It appears in the project URL, https://<project-ref>.p.stitchdb.com, and in the database name and user.

#Regions

You choose a region when creating a project; it determines where your database and files are stored. On plans with read replicas, read-only copies can serve reads closer to your users.