> ## Documentation Index
> Fetch the complete documentation index at: https://auth0-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://mintlify.s3.us-west-1.amazonaws.com/auth0-docs-event-stream-action-templates/docs/images/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/9061b8436368e003b165efb890d86473/DB_Connections_-_EN.png" alt="Dashboard - Authentication - Database - Database Connections List" />
    </Frame>
  </Accordion>

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

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-docs-event-stream-action-templates/docs/images/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/711d7fff6565d5dff7bde62ac5bf485a/Create_Database_Connections_-_English.png" alt="Dashboard - Authentication - Database - New DB Connection" />
    </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://mintlify.s3.us-west-1.amazonaws.com/auth0-docs-event-stream-action-templates/docs/images/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/a9fcea0cc19b6602a94971b85b155bb0/2025-02-26_14-44-12.png" alt="Dashboard - Connections - Database - Edit -  View Applications" />
    </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)
