--- title: "GitHubでパーソナルアクセストークンを生成する" url: https://docs.catalyst.zoho.com/ja/tutorials/githubbot/python/generate-personal-access-token/ description: "Catalyst Integration Functionsを使用してZoho Cliq上にエクステンションを構築し、Cliqボットを通じてGitHubリポジトリにアクセスして操作できるようにします" last_updated: 2026-08-17T12:16:04Z service: All Services type: tutorial related_links: - name: "GitHub Integration" url: /ja/devops/help/github-integration/introduction --- # GitHubでパーソナルアクセストークンを生成する 次に、Gitアカウントのリポジトリ用にパーソナルアクセストークンを生成します。GitHubのパーソナルアクセストークンはOAuthアクセストークンと同様に機能し、GitHub APIへのアクセスを認証します。 以下の手順に従って、GitHubでパーソナルアクセストークンを生成できます。 1. Gitアカウントにログインします。右上のプロフィールアイコンをクリックし、**Settings**をクリックします。 ![settings](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/python/settings.webp) 2. **Developer Settings**に移動します。 ![developer_settings](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/python/developer_settings.webp) 3. **Personal access tokens**メニューの**Tokens(classic)**をクリックし、**Generate new token**をクリックします。 ![generate_new_token](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/python/generate_new_token.webp) 4. スコープとして**repo**を選択します。トークンは、リポジトリ内のすべての指定されたアクションに適用されます。 ![select_scopes](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/python/select_scopes.webp) 5. **Generate new token**をクリックします。パーソナルアクセストークンが生成されて表示されます。GitHubはパーソナルアクセストークンを一度だけ表示するため、トークンをコピーして安全な場所に保管してください。 ![personal_access_token](https://catalyst-docs-development.zohostratus.in/images/tutorials/githubbot/python/personal_access_token.webp) このトークンをIntegration Functionのコードで使用します。これにより、CatalystがGitHubからリポジトリに関する必要な情報を取得できるようになります。