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

# Create an Airship (Batch) Source

<Note>
  **Note:**

  Refer to [Airship (Batch) source](/articles/integrate-customer/airship-batch-source) to know about this source.
</Note>

## Prerequisites

Ensure that you take care of the following prerequisites before creating an Airship (Batch) source:

* **Bearer Token (Access Token)** – A bearer token in Airship is a unique string of characters that authenticates a user or application to access a resource. It grants limited access to a user or application for a specific period, allowing them to perform actions on behalf of the user who generated the token. Perform the following steps to create a Bearer Token in Airship.

<Steps>
  <Step>
    Log into the Airship console and navigate to **Settings**.
  </Step>

  <Step>
    Under **Settings**, select **Project Configuration** and click **Manage** for Tokens.
  </Step>

  <Step>
    Click **Create Token**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=c673704ece0ce55c9c6989af42d9b944" width="2874" height="1352" data-path="articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08.png" />
    </Frame>
  </Step>

  <Step>
    Enter a token name. This is just a friendly name to help you recognise your tokens in Airship.
  </Step>

  <Step>
    Select the **Role** you want to grant for this token. For additional information, see [Airship API Security](https://docs.airship.com/guides/messaging/user-guide/admin/security/api-security/).

    * **Audience Modification:** Grants read and write permission to audience APIs, including channels, named users, segments, lists and so on. Use this permission for users sending custom events into Airship.
    * **All Access:** Grants full access to your Airship project, except Acoustic integrations. You must use this permission when creating a token for an inbound message handling web-hook.
  </Step>

  <Step>
    Click **Create Token**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08-1.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=6a97b8afe8f8bfddef005c9fd9a6c93a" width="2880" height="1352" data-path="articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08-1.png" />
    </Frame>
  </Step>

  <Step>
    Copy the **Access Token** value, then click **Got it** to close the window.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08-2.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=25e3c3560a1be08963b1f2606f01eaec" width="2874" height="1342" data-path="articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08-2.png" />
    </Frame>
  </Step>
</Steps>

* **Named Users –** A Named User is a proprietary identifier that maps customer-chosen IDs. In other words, Named User is an individual consumer who can have more than one mobile device registered with your app. For example, Named User john\_doe\_123 can have a personal Android phone and an iPad, on both of which he has opted in for push notifications. If you want to reach John on both devices, associate the Channel (device) identifiers for each device to the Named User john\_doe\_123, and push to the Named User. This sends out notifications to both associated devices.
* **Match the Airship Channel ID to Zeotap attribute** - In addition to the Named Users, you can also match the Airship channel ID with the Zeotap attribute to enhance customer profiles in the Zeotap system. The following get method can be used to retrieve the Airship channel ID through our SDK from the Airship SDK:

  ```javascript Code theme={null}
  UA.then(sdk => {
    sdk.getChannel().then(channel => {
      zeotap.setUserIdentities("Airship_Channel_id" : channel.id)
    })
  })
  ```

  <Note>
    **Note:**

    For more information about how to fetch the custom identities through Zeotap's SDKs, refer [here](/articles/sdks/web-js/api-reference#custom-identities).
  </Note>

## Create a Source

Once you have all the necessary information mentioned above, perform the following steps to create a Airship (Batch) source:

<Steps>
  <Step>
    Navigate to the **Sources** application under **Integrate**, in the Zeotap CDP App.
  </Step>

  <Step>
    Click **CREATE SOURCE**.
  </Step>

  <Step>
    Choose **Customer Engagement Channels** as the Category.

    <Frame>
      <img src="https://mintcdn.com/zeotap/kEe8zTZlpZky9cq1/articles/integrate-customer/Storage/integrate-customer/working-with-the-source-listing-page/cec.png?fit=max&auto=format&n=kEe8zTZlpZky9cq1&q=85&s=41028ad62acb6759bd67c8d9a3e6a4bb" width="3532" height="1972" data-path="articles/integrate-customer/Storage/integrate-customer/working-with-the-source-listing-page/cec.png" />
    </Frame>
  </Step>

  <Step>
    Click **Airship** at the Data Source.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-11.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=fcd294071dc5872d5035b1c3f1f0e369" width="3584" height="1810" data-path="articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-11.png" />
    </Frame>
  </Step>

  <Step>
    Enter a short and descriptive name for the Source.
  </Step>

  <Step>
    Enter the **Bearer Token**. For more information about how to obtain your Bearer Token in Airship, refer [here](https://developers.hubspot.com/docs/api/private-apps#make-api-calls-with-your-app-s-access-token).
  </Step>

  <Step>
    Under **Data Entity**, depending on the type of data that you want to ingest, choose either **Customer Data** or **Non Customer Data** and proceed with the source creation. To know more about Customer Data and Non Customer Data, refer [here](https://docs.zeotap.com/smart/project-unify/supported-data-entities).
  </Step>

  <Step>
    Select the **Region** of upload.
  </Step>

  <Step>
    Click **CREATE SOURCE**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08-3.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=23c19afe4f52d198f1f7c8f4501b7b6e" width="3584" height="1810" data-path="articles/integrate-customer/Storage/integrate-customer/create-an-airship-batch-source/create-an-airship-batch-source-2024-01-08-3.png" />
    </Frame>
  </Step>

  <Step>
    Upon successfully creating the source, it appears on the **SOURCES** listing page. You can open the created source and find essential details about the created source such as Bearer token, Created by, Created on information and more under the **IMPLEMENTATION DETAILS** tab.
  </Step>
</Steps>

<Note>
  **Note:**

  Once the connection between Zeotap and Airship is successfully established, you can view the data flowing into the system under the **[PREVIEW DATA](/articles/integrate-customer/knowing-the-fields-on-the-preview-data-tab)** tab.
</Note>
