> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-fix-docs-5525.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# データベース接続をセットアップする

> Auth0 Dashboardでアプリケーションのデータベース接続をセットアップする方法について説明します。

アプリケーションのデータベース接続は、<Tooltip data-tooltip-id="react-containers-DefinitionTooltip-0" href="/docs/ja-jp/glossary?term=auth0-dashboard" tip="Auth0 Dashboard: サービスを構成するためのAuth0の主製品。" cta="用語集の表示">Auth0 Dashboard</Tooltip>を使ってセットアップできます。構成したデータベース接続は、アプリケーションへのログインに使用できます。以下の手順で、接続をセットアップしてください。

<Accordion title="1 Auth0 Dashboardから開始">
  [［Auth0 Dashboard］ > ［Authentication（認証）］ > ［Database（データベース）］](http://manage.auth0.com/#/connections/database)に移動して、**［Create DB Connection（データベース接続を作成）］** を選択します。

  <Frame>
    <img src="https://mintcdn.com/docs-staging-fix-docs-5525/tpSpLO2H7qUF7TTo/docs/images/ja-jp/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/4852ec12c491cc4e5ff8cf52e1ec9672/DB_Connections_-_JP.png?fit=max&auto=format&n=tpSpLO2H7qUF7TTo&q=85&s=0ad018a9d139adb1b571bf03fcff761d" alt="Dashboard - 認証 - データベース - データベース接続リスト" width="1132" height="373" data-path="docs/images/ja-jp/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/4852ec12c491cc4e5ff8cf52e1ec9672/DB_Connections_-_JP.png" />
  </Frame>
</Accordion>

<Accordion title="2 接続に名前を付ける">
  接続の名前を入力し、**［Create（作成）］** を選択します。

  <Frame>
    <img src="https://mintcdn.com/docs-staging-fix-docs-5525/TjGCozqj6L3897RP/docs/images/ja-jp/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/583892ca4112dbe93d8a482c51856a14/Create_Database_Connections.png?fit=max&auto=format&n=TjGCozqj6L3897RP&q=85&s=3a29d61c3672fb225cb6d542cad2afe8" alt="Dashboard - 認証 - データベース - 新しいデータベース接続" width="1044" height="1502" data-path="docs/images/ja-jp/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/583892ca4112dbe93d8a482c51856a14/Create_Database_Connections.png" />
  </Frame>
</Accordion>

<Accordion title="3 接続を有効化する">
  **［Applications（アプリケーション）］** ビューを選択して、この接続を使用できるはずのAuth0アプリケーションごとに切り替えを有効にします。

  <Frame>
    <img src="https://mintcdn.com/docs-staging-fix-docs-5525/MG6-VNyWBqgIFt-e/docs/images/ja-jp/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/f047ccb22a50f7cd9f0339049649cd43/Database_Connection_-_Apps.png?fit=max&auto=format&n=MG6-VNyWBqgIFt-e&q=85&s=c9eba34e597508c5b1ef79fdde9b6fca" alt="Dashboard - 接続 - データベース - 編集 - アプリケーションの表示" width="1130" height="837" data-path="docs/images/ja-jp/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/f047ccb22a50f7cd9f0339049649cd43/Database_Connection_-_Apps.png" />
  </Frame>
</Accordion>

## もっと詳しく

* [データベース接続のテスト](/docs/ja-jp/get-started/applications/test-database-connections)
