> For the complete documentation index, see [llms.txt](https://chain-love.gitbook.io/chain.loves-toolbox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chain-love.gitbook.io/chain.loves-toolbox/features/widget-for-docs.md).

# Widget for docs

It is [fully open-source](https://github.com/Chain-Love/widget) and available to everyone. The deployment instruction is available in the repository and is not going to be repeated in this documentation to ensure consistency. In short - there are two options on how to deploy:

{% tabs %}
{% tab title="Quickstart" %}

#### For those looking for a fast deployment:

Embed the URL of Chain.Love's hosted instance ⇒ [https://widget.docs.chain.love/?network=](https://widget.docs.chain.love/?network=filecoin)\<NETWORK>, replacing \<NETWORK> with any of the folders names available in [Chain.Love's repository](https://github.com/Chain-Love/chain-love/tree/main/networks).

{% hint style="info" %}
If you are looking to deploy it to GitBook - use the [official integration](https://app.gitbook.com/o/emI0zOgCq9zPJEaYhplq/integrations/chainlove-widget). Add the network's URL as explained above.
{% endhint %}
{% endtab %}

{% tab title="Self-hosted" %}

#### For those looking for maximizing security

{% hint style="warning" %}
Qickstart's option's main flaw is that it relies on a website deployed by Chain.Love to operate, so any change provided by Chain.Love team will be immediately reflected in the embedded widget. For those looking for maximized security, the self-hosted option was introduced.
{% endhint %}

This approach would require at least basic Node.JS knowledge and executing commands in the terminal, but in general is not complicated and would provide a dedicated installation that is completely independing from Chain.Love, while still maintaining the link that would allow manual fetching for the updates if necessary.
{% endtab %}
{% endtabs %}

Widget supports additional configuration, like limiting the categories that can be viewed or enforcing the light or dark theme, which requires slight modification of the [Widget's URL](https://github.com/Chain-Love/widget?tab=readme-ov-file#url-parameters). Take a look at the next page to see the examples of the widget:

{% content-ref url="/pages/Tkgq40mLtkJG7hqS7yuz" %}
[Examples of the widget](/chain.loves-toolbox/features/widget-for-docs/example-of-our-widget.md)
{% endcontent-ref %}


---

# 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://chain-love.gitbook.io/chain.loves-toolbox/features/widget-for-docs.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.
