Browse docs
Cloud docs
Connecting to TypeDB on Layerbase Cloud
TypeDB instances are for strongly-typed knowledge graphs and TypeQL workloads managed through TypeDB client libraries.
Best for: Knowledge graphs, relationship-heavy domains, inference rules, and typed data models.
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.
Copy the host, port, username, password, and database values from the dashboard snippets.
TLS is required, on by default
Use the secure endpoint and credentials shown in Quick Connect.
TypeDB client protocol using the dashboard endpoint
Use any standard client
TypeDB 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.
const driver = await TypeDB.coreDriver('your-host.cloud.layerbase.dev:1729', { username: 'admin', password: 'password' })TypeDB notes
- Use the official TypeDB driver for your language.
- Create the TypeDB database with the driver before loading schema and data.