メインコンテンツへスキップ
AI agentをユーザーのDigitalOceanアカウントに接続すると、サーバー (Droplets) の作成・管理の自動化、ネットワークの構成、ストレージボリュームの管理が可能になります。

DigitalOceanをAuth0に接続する

1

DigitalOceanの設定

  1. DigitalOceanアカウントをお持ちでない場合は、サインアップしてください。
  2. DigitalOceanのコントロールパネルでOAuth Applicationsページにアクセスします。
  3. Register OAuth Applicationを選択して、新しいOAuthアプリケーションを作成します。
  4. アプリケーションの詳細を入力します。
    • Name:連携内容がわかりやすい名前を入力します
    • Homepage URL:https://YOUR_AUTH0_DOMAIN
    • Application description:アプリケーションの簡単な説明
    • Callback URL:https://YOUR_AUTH0_DOMAIN/login/callback
    You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains.
  5. Register OAuth Applicationを選択し、表示されたClient IDとClient Secretを控えておきます。
DigitalOceanのOAuth設定の詳細については、DigitalOcean OAuth APIのドキュメントを参照してください。
2

Auth0の設定

このガイドでは、Auth0 で DigitalOcean 接続をセットアップする手順を説明します。 このような接続を使用して、ユーザーに代わってアプリから第三者 API を呼び出す方法を一連の流れで示す例については、 ユーザーに代わって第三者 API を呼び出すクイックスタートをお読みください。

Token Vaultの設定例

DigitalOcean接続用にToken Vaultを設定するには、アプリケーションで次のコードスニペットを使用します。

Next steps