> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-feat-anonymous-sessions.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-feat-anonymous-sessions/fxqp76zNEkLRv6fa/docs/images/ja-jp/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/4852ec12c491cc4e5ff8cf52e1ec9672/DB_Connections_-_JP.png?fit=max&auto=format&n=fxqp76zNEkLRv6fa&q=85&s=bf3ad16302c85453691f5fde1dab28fc" 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-feat-anonymous-sessions/jWUAAb2NEDvpoIVp/docs/images/ja-jp/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/583892ca4112dbe93d8a482c51856a14/Create_Database_Connections.png?fit=max&auto=format&n=jWUAAb2NEDvpoIVp&q=85&s=5f3d283808b0ece84b42f88e1de81b31" 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-feat-anonymous-sessions/lULRBkgHGBKaKOfn/docs/images/ja-jp/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/f047ccb22a50f7cd9f0339049649cd43/Database_Connection_-_Apps.png?fit=max&auto=format&n=lULRBkgHGBKaKOfn&q=85&s=a4b6349706c9970bf2a15e26dfe6fc16" 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)
