Skip to content
Browse docs

Connecting to TypeDB on Layerbase Cloud

TypeDB instances speak the TypeDB 3.x gRPC protocol and TypeQL, so the typedb console and the official TypeDB 3.x drivers connect with your generated credentials.

Best for: Knowledge graphs, relationship-heavy domains, typed schemas, and applications built on TypeQL.

1

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 name from the Quick Connect panel.

2

TLS is required, on by default

Managed TLS. The console connects over TLS by default, so do not pass --tls-disabled.

TypeDB gRPC protocol on port 1729

3

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.

bashTypeDB
typedb console --address your-host.cloud.layerbase.dev:1729 --username admin

TypeDB notes

  • Leave --password off and the console prompts for it, which keeps the password out of your shell history and out of the process list.
  • TypeQL 3.x uses transactions: define for schema, insert for data, and match with select or fetch for reads.
  • The npm typedb-driver package is 2.x only. For a TypeDB 3.x client, use the Python or Rust driver or the typedb console.