> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-docs-ia-custom-database-connections.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-docs-ia-custom-database-connections/qOsCQFg3WPMPYukT/docs/images/ja-jp/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/4852ec12c491cc4e5ff8cf52e1ec9672/DB_Connections_-_JP.png?fit=max&auto=format&n=qOsCQFg3WPMPYukT&q=85&s=a5fdf707986a25ad970cd18dffe964ee" 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-docs-ia-custom-database-connections/bD6FiiMCLESx13S8/docs/images/ja-jp/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/583892ca4112dbe93d8a482c51856a14/Create_Database_Connections.png?fit=max&auto=format&n=bD6FiiMCLESx13S8&q=85&s=ad32f4a78233bdfd43129c7c15f46951" 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-docs-ia-custom-database-connections/j6rsiWbpCsBZ2dQE/docs/images/ja-jp/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/f047ccb22a50f7cd9f0339049649cd43/Database_Connection_-_Apps.png?fit=max&auto=format&n=j6rsiWbpCsBZ2dQE&q=85&s=e44ff0d4a86afc15bd059bc5450246c9" 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)
