> ## Documentation Index
> Fetch the complete documentation index at: https://auth0-feat-init-gt-translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Auth0 Dashboard を使用して、アプリケーション向けのデータベース接続を設定する方法を説明します。

# データベース接続を設定する

<Tooltip tip="Auth0 Dashboard: サービスを設定するための Auth0 のメイン製品。" cta="用語集を見る" href="/docs/ja-jp/glossary?term=Auth0+Dashboard">Auth0 Dashboard</Tooltip> を使用すると、アプリケーション向けのデータベース接続を設定できます。設定したデータベース接続は、アプリケーションへのログインに使用できます。接続を設定するには、次の手順に従ってください。

<AccordionGroup>
  <Accordion icon="circle-1" title="1 Auth0 Dashboard から開始する">
    [Auth0 Dashboard > Authentication > Database](http://manage.auth0.com/#/connections/database) に移動し、**Create DB Connection** を選択します。

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/9061b8436368e003b165efb890d86473/DB_Connections_-_EN.png" alt="Auth0 Dashboard - Authentication - Database - データベース接続一覧" />
    </Frame>
  </Accordion>

  <Accordion icon="circle-2" title="接続に名前を付ける">
    接続名を入力し、**Create** を選択します。

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/711d7fff6565d5dff7bde62ac5bf485a/Create_Database_Connections_-_English.png" alt="Auth0 Dashboard - Authentication - Database - 新しい DB 接続" />
    </Frame>
  </Accordion>

  <Accordion icon="circle-3" title="接続を有効にする">
    **アプリケーション** ビューを選択し、この接続を使用できるようにする各 Auth0 アプリケーションのスイッチをオンにします。

    <Frame>
      <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-feat-init-gt-translations/docs/images/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/a9fcea0cc19b6602a94971b85b155bb0/2025-02-26_14-44-12.png" alt="Auth0 Dashboard - 接続 - Database - 編集 - アプリケーションを表示" />
    </Frame>
  </Accordion>
</AccordionGroup>

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  [サードパーティアプリケーション](/docs/ja-jp/get-started/applications/third-party-applications) がデータベース接続を介してユーザーを認証できるようにするには、その接続をドメインレベルに昇格する必要があります。詳しくは、[接続をドメインレベルで利用可能にする](/docs/ja-jp/authenticate/identity-providers/promote-connections-to-domain-level) を参照してください。
</Callout>

<h2 id="learn-more">
  詳細はこちら
</h2>

* [データベース接続をテストする](/docs/ja-jp/get-started/applications/test-database-connections)
* [接続をドメインレベルで利用可能にする](/docs/ja-jp/authenticate/identity-providers/promote-connections-to-domain-level)
