Add-ons
Managed databases, object storage, message brokers, caches and search, and connecting them to your apps.
On this page
Add-ons are managed services that run beside your apps. Find them under Add-ons in the sidebar, one page per kind.
| Sidebar page | Engine |
|---|---|
| Databases (requires sign-in) | PostgreSQL or MySQL |
| Vector (requires sign-in) | PostgreSQL with vector search |
| Storage (requires sign-in) | S3-compatible object storage |
| Brokers (requires sign-in) | RabbitMQ |
| Caches (requires sign-in) | Valkey (Redis-compatible) |
| Search Indexes (requires sign-in) | Meilisearch |
Each kind includes one add-on on your plan; see Pricing (requires sign-in) for more and for larger sizes.
Create one
Open the page for the kind you need and create it, or ask the AI ("add a Postgres database for my-api"). It asks before creating anything that costs money; see Approvals.
Connecting to an app
Attach an add-on to a hosted app from the app's Database tab. Choose how it connects:
| Mode | What your app gets |
|---|---|
| Managed | The standard variables, set for you: DATABASE_URL for a database, REDIS_URL for a cache, AMQP_URL for a broker, MEILI_URL and MEILI_API_KEY for search, AWS-style keys for storage. |
| Custom | The same connection, under variable names you choose. |
| Detached | Nothing. You wire the connection yourself. |
Managed variables stay correct when credentials rotate.
The add-on page
Each add-on's page lets you, depending on the engine:
- rotate credentials;
- allow public read access (storage);
- open external access, so tools outside CodePinion can connect (PostgreSQL, MySQL, RabbitMQ and Valkey);
- move it to a dedicated server;
- enable extensions (PostgreSQL);
- take backups and restore one;
- see which apps use it;
- delete it.