# Databases

## 🧭 Overview

Discloud applications can connect either to:

<table data-card-size="large" data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th></th><th data-hidden></th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td><a href="/pages/OtMsNFq44lqPjzzodjLh#template-catalog-managed-instances">/pages/OtMsNFq44lqPjzzodjLh#template-catalog-managed-instances</a></td><td>Built-in managed service templates you provision through the Templates catalog.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/OtMsNFq44lqPjzzodjLh#using-external-mongodb-atlas">/pages/OtMsNFq44lqPjzzodjLh#using-external-mongodb-atlas</a></td><td>External MongoDB Atlas database-as-a-Service provider that you configure manually.</td><td></td><td></td><td></td></tr></tbody></table>

***

## 📦 Template Catalog (Managed Instances)

Provisioning a database template (e.g. MySQL, PostgreSQL, Redis, MongoDB):

{% stepper %}
{% step %}
Open the Templates page: <https://discloud.com/templates>
{% endstep %}

{% step %}
Choose the desired template (database engine or tooling panel).
{% endstep %}

{% step %}
Provide a name and required environment variables (the UI indicates mandatory ones).
{% endstep %}

{% step %}
Deploy. Credentials / connection strings become available for your app configuration.
{% endstep %}
{% endstepper %}

{% hint style="info" %}

#### **Need Another Template?**

Open a [support ticket](https://discord.com/channels/@me/930852077045940224/) in the [Discord server](https://discord.discloudbot.com/) with the engine name, version, and use case. The team evaluates feasibility and may add it to the catalog.
{% endhint %}

***

## 🌍 Using External MongoDB Atlas

If you opt for MongoDB Atlas instead of a template:

{% stepper %}
{% step %}
Create a free or paid cluster at <https://www.mongodb.com/>
{% endstep %}

{% step %}
In Network Access, add IP: `0.0.0.0/0` (Allow from Anywhere) so Discloud containers can connect.
{% endstep %}

{% step %}
Test connectivity locally before deploying if possible.
{% endstep %}
{% endstepper %}

{% tabs %}
{% tab title="Recommended video walkthrough" %}
{% embed url="<https://youtu.be/kGPY9ZuJ0b0>" %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.discloud.com/en/api-and-integrations/databases.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
