# Set default chains and tokens via URL

{% hint style="info" %}
Squid website only! This is possible for widget integrators by setting [default chains and tokens](/old-v2-documentation-deprecated/add-a-widget/widget/customization-guide/default-chains-and-tokens.md) via iframe URL or widget config
{% endhint %}

You can customize the chains and tokens that are selected by default when visiting [https://app.squidrouter.com](https://app.squidrouter.com/) via the `chains` and `tokens` query parameters.

The first value (`x`) represents the source, and separated by a comma, the second one (`y`) represents the destination:

```
chains=x,y // chain id
tokens=x,y // token address
```

For example, the following URL will open the Squid app using Arbitrum and MAGIC for source and Ethereum and DAI for destination:

```
https://v2.api.squidrouter.com/?
chains=42161,1
&tokens=0x539bde0d7dbd336b79148aa742883198bbf60342,
0x6b175474e89094c44da98b954eedeac495271d0f
```


---

# Agent Instructions: 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:

```
GET https://docs.squidrouter.com/widget-integration/add-a-widget/widget/set-default-chains-and-tokens-via-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
