> 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/pentesuto/integrate-your-lovable-apps.md).

# Lovableアプリを連携する

Lovable を Aikido に接続し、Aikido のペンテストを実行して、Lovable プロジェクトを離れずに検出結果を修正できます。

以下の手順動画をご覧いただくか、下のステップバイステップガイドに従ってください。

{% embed url="<https://www.youtube.com/watch?v=bpKju8cMuto>" %}

<p align="center"><a href="https://www.youtube.com/watch?v=bpKju8cMuto">Lovable Apps 手順動画 - 動画を見る</a></p>

{% hint style="warning" %}
ペンテストを実行すると、エージェントはアプリケーション内の脆弱性を見つけようとし、アプリとやり取りする必要があります。その結果、テストデータがアプリ内に作成される場合があります。
{% endhint %}

### Lovable を Aikido に接続する

{% stepper %}
{% step %}
**Lovable でコネクタを開く**

Lovable で、 **コネクタ** タブをサイドメニューで開き、Aikido を探します。

<div data-with-frame="true"><figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-43dea9cad9863241e51081efb9eb01e939dc0ad4%2FScreenshot%202026-06-09%20at%2016.17.55.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Aikido コネクタを追加する**

クリックします **Aikido**を入力してから **接続を追加**.

接続には、たとえば Aikido ワークスペース名など、わかりやすい名前を付けます。

<div data-with-frame="true"><figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-07f1ca902c4971b6d2ff77a5f0a6ddab92865483%2FScreenshot%202026-08-17%20at%2018.26.57.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**コネクタを設定する**

たとえば Aikido ワークスペース名など、わかりやすい名前を付け、誰がアクセスできるかを指定します。

クリックします **接続する** 準備ができたら。

<div data-with-frame="true"><figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-c104b87134b31b2ce1161dd0a172eac8d9c15eeb%2FScreenshot%202026-08-17%20at%2018.30.09.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Aikido 組織を作成する（必要な場合）**

まだ Aikido 組織がない場合は、ポップアップで作成してください。
{% endstep %}

{% step %}
**適切な Aikido ワークスペースへのアクセスを承認する**

正しい Aikido ワークスペースについて、Aikido から Lovable への権限を付与します。\
ここは、Lovable アプリがテストされ、検出結果が表示されるワークスペースです。

正しいものが選択されたら、 **承認**.

<div data-with-frame="true"><figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-cd25a746ad2fdb3991873955e8b415a7c3df1f63%2FScreenshot%202026-08-17%20at%2018.33.13.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**接続がアクティブであることを確認する**

Aikido ワークスペースと Lovable ワークスペースが正常に接続されました。

<div data-with-frame="true"><figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-b66288df65be4474a69fb7702676158ad85c8e98%2FScreenshot%202026-08-17%20at%2018.37.10.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### Lovable からペンテストを実行する

{% stepper %}
{% step %}
**プロジェクトを開く**

Lovable のプロジェクトに移動します。
{% endstep %}

{% step %}
**セキュリティフローを開始する**

次へ移動します： **さらに** をツールバーで開き、 **セキュリティタブ**.

をクリックして新しいペンテストを作成します。 **Aikido ペンテストを準備します。**

<div data-with-frame="true"><figure><img src="https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-32c47872efa9e8a3aaf6798567b835309cb90ac6%2FScreenshot%202026-08-17%20at%2018.42.20.png?alt=media" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**セットアップを完了する**

Aikido のペンテスト設定フローを進めます。

最も重要なのは、Aikido がアプリの認証済みの部分にアクセスできるよう、正しいテストユーザーを設定することです。

テストユーザーについてヘルプが必要な場合は、以下を確認してください。

* [ペンテストの設定方法](/docs/docs-ja/pentesuto/configure-a-pentest/starting-an-assessment.md)
* [テストユーザーの設定](/docs/docs-ja/pentesuto/configure-a-pentest/setting-up-authenticated-testing.md)
  {% endstep %}

{% step %}
**評価を開始する**

すべての設定が完了したら、 **評価を実行**.
{% endstep %}
{% endstepper %}

### 検出結果を確認して修正する

評価が完了すると、Lovable は検出結果をプロジェクト内に直接表示します。

すばやく修正するには、 **すべて修正** をクリックすると、Lovable のエージェントが脆弱性を修正してくれます。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.aikido.dev/docs/docs-ja/pentesuto/integrate-your-lovable-apps.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
