> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/kdosukyan/connect-your-source-code/connect-bitbucket-account-to-aikido.md).

# Bitbucket Cloudを接続する

## BitbucketアカウントをAikidoに接続する

Aikidoは、リポジトリを分析するために、Bitbucket組織への読み取り専用アクセスを要求します。分析後、コードは常にシステムから消去されます。

### 1. Bitbucketを使ってログインする <a href="#id-1-logging-in-using-bitbucket" id="id-1-logging-in-using-bitbucket"></a>

開始するには、次へ移動してください <https://app.aikido.dev/> そしてBitbucketでログインします。以下のスクリーンショットのようになります。ここでは、AikidoはBitbucket上のあなたのIDと関連付けられたメールアドレスへのアクセスのみを要求します。

![Aikido User Authentication によるアカウント情報へのアクセス要求画面。許可またはキャンセルのオプションがあります。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-cfe1712ebee2f37ac0b729bdee750fc636d826d3%2Fucarecdn-10401885-4c52-4133-894a-48f9d2736781.png?alt=media)

### 2. 組織へのアクセスを承認 <a href="#id-2-authorizing-access-to-an-organization" id="id-2-authorizing-access-to-an-organization"></a>

次の画面では、実際の組織またはサンプルのワークスペースを接続するか選べます。実際の組織を選ぶと、Bitbucketに戻されます。そこで、認可したい組織を選択してください。

![Aikidoはアカウントとリポジトリへのアクセスを要求します。ユーザーは承認または拒否する必要があります。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-4564ac5f4c41b0bcc1c126c072afcbf1670be22c%2Fucarecdn-76533a25-f878-4c97-a437-e35e38c780ea.png?alt=media)

### 3. リポジトリを選択する <a href="#id-3-select-your-repos" id="id-3-select-your-repos"></a>

以下のように、すべてのリポジトリではなく、1つまたは2つのリポジトリへのアクセスを任意で付与できます。<br>

<figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2F5aQp5stKCTStQyuFkvZU%2Fimage.png?alt=media&amp;token=39d1be51-86ef-40ef-ac14-e05d43040a74" alt=""><figcaption></figcaption></figure>

### 4. 結果を確認する <a href="#id-4-checking-results" id="id-4-checking-results"></a>

アクセスを付与し、スキャンしたいリポジトリを確認したら、Aikido は自動的にスキャンを開始します。約 1 分後には、最初の結果が表示されるはずです！


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/kdosukyan/connect-your-source-code/connect-bitbucket-account-to-aikido.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
