Set up your first LordBase integration
This path takes you from a hosted account to a successful database query. You run only your own application locally.
1. Prepare
- A browser and access to LordBase.
- An active LordBase subscription with room for a database. An invited developer also needs account access and an active subscription.
- Permission to create databases in a workspace: owner or admin.
- A supported database client or the runtime for one example: Node.js with npm for PostgreSQL, or Python 3 with pip for Redis/MongoDB.
- Outbound network access from the machine that will run your application to the database host and port shown by LordBase.
2. Sign in and check your plan
Sign in to the dashboard. Open Billing and check that your LordBase plan is active. A login alone does not grant database capacity. If plan loading or activation fails, use plan troubleshooting; repeated purchases are not a diagnostic step.
3. Create or select a workspace
Open Workspaces. Create a workspace with a name of at least two characters, or select one you already belong to. Keep development and production in separate workspaces when they need different collaborators.
A workspace groups resources and access. Its owner’s plan determines database and database-user quotas. See roles before adding collaborators.
4. Create a development database
Open Databases, choose the creation action, select your workspace, engine and display name, then submit. Use PostgreSQL for the first SQL example; choose Redis or MongoDB only if your application needs those protocols.
Wait for the database to become active. Creation provisions the engine before returning success. If creation times out, inspect the database list and any returned resource ID before retrying, to avoid duplicate resources. See provisioning.
5. Get connection settings and an application user
Open the database’s connection details. Record the public host, port, actual database name, engine and TLS settings. Redis also supplies a key prefix. These are resource-specific values: the management API hostname is not your database host.
An owner/admin can create a separate user under Users. Choose write for an application that changes data or read for a reader. Save the returned username and password in your local secret configuration. Use the complete returned username, including its database prefix. If a displayed URI contains ****, it is masked and cannot authenticate.
The connection panel exposes privileged credentials. Use those only when the task requires administrative access; normal application traffic should use the separate application user.
6. Run one connection example
Follow the matching guide:
- PostgreSQL with Node.js: a read-only
SELECT 1. - Redis with Python: a temporary key within your assigned prefix.
- MongoDB with Python: a connection ping.
Your application does not need a LordBase developer access token for these connections. Environment variables in the examples belong to your application. Add secret files to your application’s ignore rules and deployment secret store.
7. Add your application schema and deploy
Run your own application’s migrations or initialization against the development database using credentials with the required permissions. LordBase provisioning does not create your application’s tables or collections. Before production, complete the integration checklist, especially TLS, network enforcement, connection limits and tested recovery.
Success means: the database is active, the chosen driver connects from the application runtime, and the example produces the stated result. An HTTP health response alone does not prove any of those things.