> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Describes how to set up database connections for applications using the Auth0 Dashboard.

# Set Up Database Connections

You can set up database connections for applications using the <Tooltip tip="Auth0 Dashboard: Auth0's main product to configure your services." cta="View Glossary" href="/docs/glossary?term=Auth0+Dashboard">Auth0 Dashboard</Tooltip>. The configured database connections can be used to log in to your application. To set up a connection, follow the steps below.

<AccordionGroup>
  <Accordion icon="circle-1" title="1 Start at Auth0 Dashboard">
    Navigate to [Auth0 Dashboard > Authentication > Database](http://manage.auth0.com/#/connections/database), and select **Create DB Connection**.

    <Frame>
      <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/0yESejeOU6QiEi-j/docs/images/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/9061b8436368e003b165efb890d86473/DB_Connections_-_EN.png?fit=max&auto=format&n=0yESejeOU6QiEi-j&q=85&s=de70ad0fc94bb7f467653fef0b4663d0" alt="Dashboard - Authentication - Database - Database Connections List" width="1132" height="378" data-path="docs/images/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/9061b8436368e003b165efb890d86473/DB_Connections_-_EN.png" />
    </Frame>
  </Accordion>

  <Accordion icon="circle-2" title="Name the connection">
    Enter a name for your connection, and select **Create**.

    <Frame>
      <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/711d7fff6565d5dff7bde62ac5bf485a/Create_Database_Connections_-_English.png?fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=ddca1c98a21dd8a58a004f0d3fa42f34" alt="Dashboard - Authentication - Database - New DB Connection" width="1038" height="1502" data-path="docs/images/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/711d7fff6565d5dff7bde62ac5bf485a/Create_Database_Connections_-_English.png" />
    </Frame>
  </Accordion>

  <Accordion icon="circle-3" title="Enable the connection">
    Select the **Applications** view, enable the switch for each Auth0 application that should be able to use this connection.

    <Frame>
      <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/RjB12i6aOVmBONJv/docs/images/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/a9fcea0cc19b6602a94971b85b155bb0/2025-02-26_14-44-12.png?fit=max&auto=format&n=RjB12i6aOVmBONJv&q=85&s=1f19daa66352ca7aaa7b5d3a2119d7a9" alt="Dashboard - Connections - Database - Edit -  View Applications" width="1090" height="758" data-path="docs/images/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/a9fcea0cc19b6602a94971b85b155bb0/2025-02-26_14-44-12.png" />
    </Frame>
  </Accordion>
</AccordionGroup>

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  To allow [third-party applications](/docs/get-started/applications/third-party-applications) to authenticate users via a database connection, the connection must be promoted to the domain level. To learn more, read [Promote Connections to Domain Level](/docs/authenticate/identity-providers/promote-connections-to-domain-level).
</Callout>

## Learn more

* [Test Database Connections](/docs/get-started/applications/test-database-connections)
* [Promote Connections to Domain Level](/docs/authenticate/identity-providers/promote-connections-to-domain-level)
