# Rudderstack

### 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&#x26;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&#x26;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&#x26;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&#x26;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&#x26;token=fec6aece-05ff-47b7-aac0-2eb7557aec50" alt=""><figcaption></figcaption></figure>

By default, [Analytic Events](https://docs.formsort.com/integrations/getting-data-out/analytics) 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&#x26;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](https://docs.formsort.com/integrations/getting-data-out/analytics).

The [shape of the event payload](https://docs.formsort.com/integrations/getting-data-out/event-payload-shape) is configurable.
