Browse docs
Cloud docs
Connecting to CouchDB on Layerbase Cloud
CouchDB is HTTP-native, so Layerbase Cloud gives you a managed HTTPS endpoint with the standard Apache CouchDB API.
Best for: Offline-first apps, PouchDB sync, document storage, replication workflows, and Cloudant migrations.
Open your database in the dashboard
Go to /cloud, click the database you just created, and the connection panel shows the host, port, username, password, and a ready-to-paste connection string for the engine.
Use the generated admin username and password in the connection URL or Authorization header.
You can also download the whole set instead of copying values one at a time: the Connect dialog offers a Download .env file, ready to drop into a project under the environment variable your engine's clients expect, and a Download .txt with the labeled parameters. Both files contain the password in plain text, so keep them out of version control.
TLS is required, on by default
Use the https:// endpoint from Quick Connect.
Apache CouchDB HTTP API over HTTPS
Use any standard client
CouchDB works with the normal client family for that engine. Start with the dashboard snippet, then move the same URL and credentials into your app environment.
If your client has separate direct, pooled, TLS, or HTTP options, prefer the exact variant shown in Quick Connect.
curl "https://admin:password@your-host.cloud.layerbase.dev/"CouchDB notes
- PouchDB can replicate directly against the HTTPS endpoint.
- Cloudant migrations can use standard CouchDB replication from source to target.