> ## Documentation Index
> Fetch the complete documentation index at: https://help.kajabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Kajabi with Segment

> Connect Segment to your Kajabi site to collect and send customer data to analytics tools.

**Segment** is an API that allows you to collect customer data and send it to hundreds of tools for analytics, marketing, and data warehousing. [Learn more about Segment](https://segment.com/product/?utm_campaign=650073498\&utm_source=adwords\&utm_medium=paid-search\&utm_content=291636242809\&utm_term=segment\&adgroupid=58068309985\&gclid=Cj0KCQiA8f_eBRDcARIsAEKwRGfRPxlIprCPkDVNXa5Yoa8TL_bO5hWPz-eCtrcmylQWJ5CgyAWyajEaAmUHEALw_wcB).

<div className="w-full aspect-video">
  <iframe src="https://fast.wistia.net/embed/iframe/s2mied58ri" allow="autoplay; fullscreen" allowFullScreen className="w-full h-full" />
</div>

<Note>
  **Note:**
  A Segment Project (Legacy Source) should be made for each Kajabi Site.
</Note>

In Kajabi, Segment can be used to track data on the following actions for logged in customers:

* Viewed Blog
* Viewed Blog Post
* Viewed Categories
* Viewed Category
* Viewed Landing Page
* Viewed Lesson
* Viewed Product
* Viewed Sales Page

## Set up the native Segment integration in Kajabi

To set up the native Segment integration in Kajabi, you'll need to complete the following steps:

* First, head into the **Settings** tab from your dashboard.
* Then, click into **Third-Party Integrations**.
* Toggle **On** the **Segment** integration.

<div className="w-full aspect-video">
  <iframe src="https://fast.wistia.net/embed/iframe/4t8y767t4e" allow="autoplay; fullscreen" allowFullScreen className="w-full h-full" />
</div>

After enabling your Segment integration you will be prompted to enter your Segment **API Key**.

This can be found under the **Settings** for the Project you're setting up.

## Get your Segment API key

To get your API key:

* Click the **Sources** tab.
* Select your **Source**.
* Click the **Settings** tab.
* Then, click the **API Keys** tab.
* Click **Copy** next to the **Write Key** field.

<img src="https://mintcdn.com/kajabi-support/m6ttm4IwHXcY_OW_/articles/images/71732532_360077223413.png?fit=max&auto=format&n=m6ttm4IwHXcY_OW_&q=85&s=4d5be9f7da63605d96a937fa64a56c4a" alt="Sources_-Kajabi_Source-_Segment.png" width="2958" height="948" data-path="articles/images/71732532_360077223413.png" />

* With your Key copied, head back into your Kajabi Integrations page and paste the key into the **API Key** field and click **Save** at the top.

<img src="https://mintcdn.com/kajabi-support/DB7yAogdPbid1BoD/articles/images/261daab0_upload_2035162955617948425.png?fit=max&auto=format&n=DB7yAogdPbid1BoD&q=85&s=db727aa474a0e38f0b58c41da998f8d6" alt="StatusIndicator_and_Kajabi_-__admin_sites_176700_integrations_edit.png" width="3112" height="1768" data-path="articles/images/261daab0_upload_2035162955617948425.png" />

You will receive confirmation that your integrations were successfully updated, and you'll be ready to start using Segment.
