> 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 を接続する

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

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上のあなたの識別情報と関連付けられたメールアドレスへのアクセスのみを要求します。

![AikidoのUser Authenticationによるアカウント情報へのアクセス要求画面。許可またはキャンセルのオプション付き。](/files/58b6f67c118445ddd4aa8e03b5b47cb96544665f)

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

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

![Aikidoはアカウントおよびリポジトリアクセスを要求します。ユーザーは承認または拒否する必要があります。](/files/0e54cca2c3e4566e8887e4d2877770b3859eda09)

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

以下のように、すべてのリポジトリではなく1つまたは2つのリポジトリへのアクセスを任意で許可できます:

![Aikidoの無料プランまたはアップグレード版で、セキュリティ監視するリポジトリを選択してください。](/files/b8f0af8e4b1ed3126071cd357218110e76c542a0)

### 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.
