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

> Auth0 Dashboard を使用して Rules のグローバル変数を設定する方法を説明します。

# Rules のグローバル変数を設定する

<Warning>
  Rules と Hooks のサポート終了日 (EOL) は **2026 年 11 月 18 日** です。また、**2023 年 10 月 16 日** 以降に作成された新規テナントでは、これらはすでに利用できません。アクティブな Hooks を持つ既存のテナントでは、サポート終了日まで Hooks 製品を引き続き利用できます。

  Auth0 の拡張には、Actions の使用を強くお勧めします。Actions では、豊富な型情報、インラインドキュメント、公開 `npm` パッケージを利用できるほか、拡張性をさらに高める外部統合にも接続できます。Actions の機能について詳しくは、[Understand How Auth0 Actions Work](/ja/docs/customize/actions/actions-overview) を参照してください。

  移行を支援するため、[Rules から Actions への移行](/ja/docs/customize/actions/migrate/migrate-from-rules-to-actions) および [Hooks から Actions への移行](/ja/docs/customize/actions/migrate/migrate-from-hooks-to-actions) のガイドを提供しています。また、機能比較、[Actions のデモ](https://www.youtube.com/watch?v=UesFSY1klrI)、および移行時に役立つその他のリソースを紹介する専用ページ [Move to Actions](https://auth0.com/extensibility/movetoactions) も用意しています。

  Rules と Hooks の非推奨化について詳しくは、ブログ記事 [Preparing for Rules and Hooks End of Life](https://auth0.com/blog/preparing-for-rules-and-hooks-end-of-life/) を参照してください。
</Warning>

Auth0 Dashboard を使用して Rules のグローバル変数を設定できます。詳しくは、[Auth0 Rules](/ja/docs/customize/rules) を参照してください。

1. [Auth0 Dashboard > Auth Pipeline > Rules](https://manage.auth0.com/#/rules) に移動し、**Settings** セクションを探します。

   <Frame>
     <img src="https://mintcdn.com/translations/pvjQqAy3EB2TK6NP/docs/images/cdy7uua7fh8z/4OiSXzc5fYgPagHdOGbfvj/a589bdf811df66658fe21c509aed610c/Dashboard_-_Auth_Pipeline_-_Rules.png?fit=max&auto=format&n=pvjQqAy3EB2TK6NP&q=85&s=fd0731ae46909908816273b82c2faa9e" alt="Dashboard - Auth Pipeline - Rules " width="1039" height="795" data-path="docs/images/cdy7uua7fh8z/4OiSXzc5fYgPagHdOGbfvj/a589bdf811df66658fe21c509aed610c/Dashboard_-_Auth_Pipeline_-_Rules.png" />
   </Frame>
2. 変数のキーと値のペアを入力し、**+ Add** を選択します。

   入力した値は、グローバル `configuration` オブジェクトを介してすべての Rules で使用できるようになり、**Code Snippet** 列の値を使って参照できます。

<div id="learn-more">
  ## 詳細情報
</div>

* [Rules の作成](/ja/docs/customize/rules/create-rules)
