# Choose How To Integrate Squid

{% tabs %}
{% tab title="Widgets" %}
Customisable React or iframe widgets built for specific user flows. Recommended in most cases.

* Fastest to implement
* Customisable themes
* Customisable supported tokens, hooks etc
* Multi-chain wallet management
* Handle all edge cases regarding cross-chain UX.
* Different widgets for Swap & Bridge, Staking, Checkout

<figure><img src="/files/HZcg1n7O5I0ww9LpTyUN" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="SDK" %}
All the main Squid functions, and some more helpers, in typescript, at your fingertips. Get full control of your UI.

```typescript
const route = await squid.getRoute(params)

const fromToken = squid.tokens.find(
  (t) =>
    t.symbol.toLocaleLowerCase() === "USDC" && t.chainId === "1"
);
```

{% endtab %}

{% tab title="API" %}
Write your own client code for Squid.

Best for traders, wallets, mobile apps, or anyone who prefers not to use Javascript and ethers/wagmi etc.

```typescript
const getRoute = async (params: any) => {
	const result = await axios.get('https://api.squidrouter.com/v1/route', {
		params: params,
		headers: {
			'x-integrator-id': integratorId,
		},
	});
	return result.data;
};
```

{% endtab %}
{% endtabs %}

<figure><img src="/files/stCbQ86vln4Mn39a0I2C" alt=""><figcaption></figcaption></figure>


---

# 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/additional-resources/additional-dev-resources/choose-how-to-integrate-squid.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.
