> 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/penetorshontesuto/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="/files/757f5b7cea9709884c18abb93751819265c85c12" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

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

クリック **Aikido**、次にクリック **接続を追加**.

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

<div data-with-frame="true"><figure><img src="/files/6b32128e3a49ad8befed966f50da24c9641700d5" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**ワークスペース全体へのアクセスを確認**

この接続が、Lovable ワークスペースの全員からアクセス可能であることを確認します。

<div data-with-frame="true"><figure><img src="/files/5858d9c4bd92526962c31515262ab6ae2c9c4ade" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

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

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

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

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

<div data-with-frame="true"><figure><img src="/files/096dcac0cfba2bab0aa56e77c00ec63489ffc3b8" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**接続が有効であることを確認する**

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

<div data-with-frame="true"><figure><img src="/files/d94178b9897cff49c8810b6dca7f4918c5ce8ce0" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

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

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

Lovable でプロジェクトを開きます。
{% endstep %}

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

を開き、 **セキュリティ** タブ、または **セキュリティを確認** 公開時に。

<div data-with-frame="true"><figure><img src="/files/90eac495b653eb2db38d5836c046edf7f89405fe" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**新しいペンテストを開始する**

Lovable で **新しいペンテストを開始** をクリックして、ペンテストのセットアップフローを開始します。

<div data-with-frame="true"><figure><img src="/files/7eec4c9355232cc85c7bb7f728887654b21a56d5" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

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

Aikido でペンテストのセットアップフローを進めます。

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

テストユーザーについて助けが必要な場合は、次を確認してください:

* [ペネトストの設定方法](/docs/docs-ja/penetorshontesuto/configure-a-pentest/starting-an-assessment.md)
* [テストユーザーの設定](/docs/docs-ja/penetorshontesuto/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 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/penetorshontesuto/integrate-your-lovable-apps.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.
