Create a data source
This article describes how to create a data source.
Adding a web, mobile, server-side, or webhook data source requires two steps: select a platform and get the code for your installation.
To add a data source for offline data, see file import data source.
Use the following steps to add a data source:
- In the sidebar, select Sources > Data Sources.
- Click + Add Data Source.
- From the Select a Platform screen, select a language or platform for your installation. To filter selections by category, click a category in the left panel.
- In the Name field under Summary, enter a name and click Continue. This is a required field.
- Click Continue. The dialog advances to the Get Code step and displays the data source key and installation code or instructions.
- (Optional) To download installation instructions, including the data source key, base code, and event tracking code, click Download as PDF.
- Click Save & Continue.
A summary of the data source appears. - Click Close.
The new data source displays with a summary of actionable items.
To expand or collapse the details of a data source, click the data source name.
From the detailed data source view you can perform the following actions:
- View and copy the data source key
- View installation instructions
- Return to the Get Code page
- Edit the data source settings
- Duplicate the event source
- Delete the data source
- View live events related to a data source
This page was last updated: March 30, 2026