> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.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-dev-docs-event-stream-action-templates/1FU_hDyg-ytA7ilg/docs/images/ja-jp/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/4852ec12c491cc4e5ff8cf52e1ec9672/DB_Connections_-_JP.png?fit=max&auto=format&n=1FU_hDyg-ytA7ilg&q=85&s=93f6eafbfb42806eab749671619f0200" 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-dev-docs-event-stream-action-templates/5l8GTXHD40NsjgmL/docs/images/ja-jp/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/583892ca4112dbe93d8a482c51856a14/Create_Database_Connections.png?fit=max&auto=format&n=5l8GTXHD40NsjgmL&q=85&s=db6057be36f6462a950f154ae7d53e1a" 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-dev-docs-event-stream-action-templates/9Vac8_IYDB9MGlmx/docs/images/ja-jp/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/f047ccb22a50f7cd9f0339049649cd43/Database_Connection_-_Apps.png?fit=max&auto=format&n=9Vac8_IYDB9MGlmx&q=85&s=490504494da7858cb02bbc9d608fbea2" 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)
