> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

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

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

Auth0 Dashboard (Auth0 Dashboard: サービスを設定するための Auth0 のメイン製品。) を使用すると、アプリケーション向けのデータベース接続を設定できます。設定したデータベース接続は、アプリケーションへのログインに使用できます。接続を設定するには、次の手順に従ってください。

> [accordion] 1 Auth0 Dashboard から開始する
>
> [Auth0 Dashboard > Authentication > Database](http://manage.auth0.com/#/connections/database) に移動し、**Create DB Connection** を選択します。
>
> ![Auth0 Dashboard - Authentication - Database - データベース接続一覧](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/1Hf6ctA9xhsLOQO9IyG0VU/9061b8436368e003b165efb890d86473/DB_Connections_-_EN.png)

> [accordion] 接続に名前を付ける
>
> 接続名を入力し、**Create** を選択します。
>
> ![Auth0 Dashboard - Authentication - Database - 新しい DB 接続](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/224NpYTYh56bICfblpAJ6O/711d7fff6565d5dff7bde62ac5bf485a/Create_Database_Connections_-_English.png)

> [accordion] 接続を有効にする
>
> **アプリケーション** ビューを選択し、この接続を使用できるようにする各 Auth0 アプリケーションのスイッチをオンにします。
>
> ![Auth0 Dashboard - 接続 - Database - 編集 - アプリケーションを表示](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/Kjd9GRzWgHJis31lQVJlW/a9fcea0cc19b6602a94971b85b155bb0/2025-02-26_14-44-12.png)

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

## 詳細はこちら

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