# Tinybird Integration

## Resmo + Tinybird Integration Fundamentals

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

Resmo connects to Tinybird to provide continuous asset visibility, security, and compliance for your Tinybird environment.

### What does Resmo offer to Tinybird users?

* Collect your directory assets like data sources, pipes, and tokens from your Tinybird account.
* Query and answer complex security questions instantly using custom or managed SQL queries.
* Set up automated security rules to gain continuous security and compliance.
* Understand asset relationships in context by leveraging visual graph views.

### How does the integration work?

Resmo uses API to do the initial polling and collect existing resources. Following the initial polling, it receives updates and changes in real-time through webhook and regular polling.

#### Available resources

{% embed url="<https://resources.resmo.com/tinybird>" %}

## Integration walkthrough

### How to install

1. Select Tinybird on the Integrations page.
2. Click the Add Integration button at the bottom right corner of the opening modal.
3. Log in to your Tinybird account on a new tab.

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

4. Go to **Auth Tokens page**.

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

5. You can **either create a new token** with the desired resources only **or continue with the admin token**.

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

6. For the admin token, click "**admin token**" under the workspace tokens.
7. For a limited token, click the "**New token**" button in the upper right corner.
8. If you want to poll "Pipes", click on "**Add pipe scope**", select the desired pipes, select "Read" scope only, and click on "Add".

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

9. If you want to poll "Data sources", click on "**Add Data source scope**", select the desired datasources, select "Read" scope only, and click on "Add".

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

10. If you want to poll "Jobs", click on "Enabled" under the "Data Sources Scopes".

<figure><img src="/files/7Tnutc6iqrOQcYsR5hEb" alt=""><figcaption></figcaption></figure>

11. If you want to poll "Tokens", click on "Enabled".
12. Click save changes.
13. **Copy Auth token** from your Tinybird account.

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

14. **Paste it to the Auth Token field** on the setup page.

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

15. Click **Create**.
16. All set! Now you can start running queries on your Tinybird resources.

### How to uninstall

1. Select Tinybird on your Integrations page.
2. Navigate to the Connected Integrations tab on the opening modal.
3. Click the Tinybird integration you want to uninstall.
4. See the **Disable** and **Delete** buttons in the upper right corner. Disabling an integration pauses data polling until you enable it back. Deleting an integration, on the other hand, cannot be undone.


---

# 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://resmocom.gitbook.io/product/integrations/tinybird-integration.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.
