> For the complete documentation index, see [llms.txt](https://docs.squidrouter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.squidrouter.com/old-v2-documentation-deprecated/add-a-widget/widget/iframe-installation.md).

# Iframe Installation

Integrating the widget as an Iframe

The widget is made as a React component. For now, if you're using another frontend framework (Vue, Angular, etc), you will need to integrate the widget as an iframe.

We will roll out support to other frameworks in the future based on their demand.

### **Iframe link**

The iframe points to this link:

```
v2.api.squidrouter.com/iframe?config=.....
```

### Customization

You can customize the iframe and grab the link at the [Squid Widget Studio](https://widget.squidrouter.com/).

When you're happy with the customization, simply click the "Get iframe" button that will redirect you to a standalone widget page: <img src="https://4247625265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXbXyuWIO2PwzNc5Dets%2Fuploads%2F2KRnISdNnGArjhL5FgX8%2Fiframe%20button.png?alt=media&amp;token=67ee2612-9ec6-4fc3-9984-3dc891b5a769" alt="" data-size="line">

The URL of this standalone page embeds the config you selected on the customization step, and is ready to embed.

### Embedding

Now that you have the iframe link, you can copy and paste it into your frontend code to embed it into your website, at the location of your choice. Keep in mind the width and height parameters are important so that the widget displays properly.

```html
<iframe
    title="squid_widget"
    width="430"
    height="684"
    src=" https://v2.api.squidrouter.com/iframe?config=....."
/>
```


---

# 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://docs.squidrouter.com/old-v2-documentation-deprecated/add-a-widget/widget/iframe-installation.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.
