> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/integrations/integration-reference/rudderstack.md).

# Rudderstack

This page covers setting up the Formsort -> Rudderstack integration

### Step 1: Create a source in Rudderstack

Choose add a source.<br>

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FsmY9hgKx2l24u5mdoXJI%2Fimage.png?alt=media&amp;token=818934fa-6c43-4797-b76f-f9746dde3df9" alt=""><figcaption></figcaption></figure>

Select "Javascript" and name your source.

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FjmJKl2m29itkR8VGBMq2%2Fimage.png?alt=media&amp;token=1d66d89d-cb34-4393-9616-54ac68ffa2a8" alt=""><figcaption></figcaption></figure>

After clicking "Continue", skip "Install SDK" part and click on Connect in side menu.<br>

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FWXe7SLaymoY1V1woWeQs%2Fimage.png?alt=media&amp;token=34a234ed-4815-4f29-8406-67f820aff79e" alt=""><figcaption></figcaption></figure>

Copy "Data Plane URL" and "Write key" from  dashboard.<br>

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FO5D1R4WnCzt9C72Ji1R5%2Fimage.png?alt=media&amp;token=2f010168-a3aa-4efa-a764-948d826eae38" alt=""><figcaption></figcaption></figure>

### Step 2: Connect to source

Paste write key and data plane url into the "Rudderstack" section of the Formsort integration.

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2FiHHtbAbbASg49fGYN14a%2Fimage.png?alt=media&amp;token=fec6aece-05ff-47b7-aac0-2eb7557aec50" alt=""><figcaption></figcaption></figure>

By default, [Analytic Events](/integrations/getting-data-out/analytics.md) are not enabled and must be toggled on.

<figure><img src="https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJPnL__mOdr_mLZ8nwf%2Fuploads%2Fe0uBHkyT0J9Qrfo30vV9%2FScreen%20Shot%202022-10-05%20at%2016.40.57.png?alt=media&amp;token=d35716cc-e602-4218-aaca-4c62a20cfd97" alt=""><figcaption></figcaption></figure>

Analytic Events are ways to track information about a flow, and the answers given by the user. By toggling on "enabled events", Formsort will send the information collected from users at specific times, based on your selection. For more context, please see our reference for Analytics Events [here](/integrations/getting-data-out/analytics.md).

The [shape of the event payload](/integrations/getting-data-out/event-payload-shape.md) is configurable.


---

# 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.formsort.com/integrations/integration-reference/rudderstack.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.
