Skip to main content
Add Postgres or Redis to give your app persistent storage and caching. Attach a domain you own or buy one through Locus, with SSL included. Your agent can manage both through the Build API, or you can use the dashboard.

Available addons

Each addon costs $0.25/month from workspace credits.

How addons work

1

Create an addon

Choose a name and your service’s environment. Wait until the status is available: usually 30–60 seconds for Postgres or 10–20 seconds for Redis.
2

Connect your service

Add an explicit variable reference, such as "DATABASE_URL": "${{db.DATABASE_URL}}". Only services that reference an addon receive its connection variables.
3

Redeploy

Deploy the service again to load the connection values.
See variables and connections for templates and the addon reference for API requests, queries, and migrations.

Custom domains

Every service already has a public HTTPS URL. Add a custom domain when you want your own address.

Bring your own domain

1

Add the domain

Enter your domain in the dashboard. Locus provides a CNAME target and SSL certificate validation records.
2

Update DNS

Add the supplied records at your DNS provider, then verify the domain in Locus. DNS changes usually take 1–30 minutes.
3

Attach the service

Once DNS and the certificate validate, select the service that should receive the traffic.

Purchase a domain

Search for a domain in the dashboard and review its price. Complete the purchase with your contact information, then attach it to a service once registration finishes. Registration usually takes 1–15 minutes; Locus configures DNS and SSL automatically. Use the domain reference to have your agent search, purchase, verify, or attach a domain.