> ## 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.

# Airship Real Time Integration

## Overview

Airship is a customer engagement platform that helps marketers deliver personalised and relevant experiences to their customers across multiple channels and touch points. Integrated with Zeotap it enables marketers to engage with their customers in real-time and at scale.

## Pre-requisites

Ensure that you obtain the following prerequisites from Airship before proceeding with this integration:

* **Access Token** - This is a type of authentication mechanism that allows authorised users to access different resources within an Airship integration. This token ensures that the user is authorised to access the resources they are requesting and helps to secure the Airship integration against unauthorised access. You need to obtain this information from Airship before proceeding with the integration.

Perform the following steps to create the access token:

<Steps>
  <Step>
    Log into the Airship Static Lists 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/puXmsvA7x0OblYvo/articles/integrate-customer/Storage/integrate-customer/project-destination-internal/Imported/airship-static-lists-in-review-img0001.png?fit=max&auto=format&n=puXmsvA7x0OblYvo&q=85&s=ff017a97645ee9a1087e7b81e87a5bdd" width="2874" height="1352" data-path="articles/integrate-customer/Storage/integrate-customer/project-destination-internal/Imported/airship-static-lists-in-review-img0001.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/puXmsvA7x0OblYvo/articles/integrate-customer/Storage/integrate-customer/project-destination-internal/Imported/airship-static-lists-in-review-img0002.png?fit=max&auto=format&n=puXmsvA7x0OblYvo&q=85&s=0c6de388107dc8d4228f1f7437ce27bb" width="2880" height="1352" data-path="articles/integrate-customer/Storage/integrate-customer/project-destination-internal/Imported/airship-static-lists-in-review-img0002.png" />
    </Frame>
  </Step>

  <Step>
    Copy the values, then click Got it to close the window.

    <Frame>
      <img src="https://mintcdn.com/zeotap/puXmsvA7x0OblYvo/articles/integrate-customer/Storage/integrate-customer/project-destination-internal/Imported/airship-static-lists-in-review-img0003.png?fit=max&auto=format&n=puXmsvA7x0OblYvo&q=85&s=5d84868b04741a1027e871d9a4298371" width="2874" height="1342" data-path="articles/integrate-customer/Storage/integrate-customer/project-destination-internal/Imported/airship-static-lists-in-review-img0003.png" />
    </Frame>
  </Step>
</Steps>

* **X-UA-Appkey** - In Airship, X-UA-Appkey is a header that identifies the unique app key associated with each mobile device. The app key is a unique identifier assigned to each mobile device by Airship and is used to manage device information, send notifications and track app usage.

## Destination Setup

After you have applied filters or added conditions for your users in Journeys, you can activate them in Airship under **Send to Destinations.** A new window appears, where you can set up your destination. You can use an already existing destination from the list of available Destinations \*\*\*\* or create a new one by clicking **+ Add New Destination**.

<Frame>
  <img src="https://mintcdn.com/zeotap/WL_Z70xFFcSOCGW9/articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07.png?fit=max&auto=format&n=WL_Z70xFFcSOCGW9&q=85&s=cef8e04e0161346cacb6e4a470b13b9b" width="1858" height="1070" data-path="articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07.png" />
</Frame>

### Add New Destination

Perform the following steps to add a new destination:

<Steps>
  <Step>
    Click **Add New Destination.**
  </Step>

  <Step>
    Search for **Airship.**
  </Step>

  <Step>
    Click **Airship** and enter a name for the Destination.
  </Step>

  <Step>
    Enter the **Access Token** and **X-UA-Appkey** that you have obtained.
  </Step>

  <Step>
    Choose the appropriate **Region** from the drop-down menu and click **Next**.
  </Step>

  <Step>
    In the mapping screen that appears, under **Choose your Action**, select **Send Named User to Airship** as the action for sending data from the workflow created in Journeys. Under **Map the Fields**, map the relevant output identifiers and attributes as explained below. Note that by default, the mandatory fields Event Name and Event Timestamp are mapped to the Destination Fields.

    <Frame>
      <img src="https://mintcdn.com/zeotap/WL_Z70xFFcSOCGW9/articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-1.png?fit=max&auto=format&n=WL_Z70xFFcSOCGW9&q=85&s=04810f0540f72591edb7f37afb62ebc9" width="1928" height="1758" data-path="articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-1.png" />
    </Frame>

    You must map at least one ID to allow data transfer from Zeotap to the Airship Destination. The ID's include Named User, IOS Channel ID, Andriod Channel ID and Web Channel ID. In case, if you map more that one ID, then Zeotap choses the IDs in the priority order mentioned in the table below.

    | **DB Name**      | **Display Name** | **Mandatory** | **Priority** |
    | :--------------- | :--------------- | :------------ | :----------- |
    | named\_user      | Named User       | No            | 1            |
    | ios\_channel     | iOS channel      | No            | 2            |
    | android\_channel | Android channel  | No            | 3            |
    | web\_channel     | Web channel      | No            | 4            |
    | occurred         | Event Timestamp  | Yes           |              |
    | name             | Event Name       | Yes           |              |
    | transaction      | Transaction      | No            |              |
    | value            | Value            | No            |              |
  </Step>

  <Step>
    Once the mapping is complete, click **Create Destination**. The destination is created and made available for activation on Journeys as shown below.
  </Step>
</Steps>

## Activate the Destination on Journeys

After creating a destination, next, you need to link it in the **Send to Destination** node within the workflow, as explained below.

<Steps>
  <Step>
    In the workflow, click **+** and choose **Send to Destinations**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/WL_Z70xFFcSOCGW9/articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-2.png?fit=max&auto=format&n=WL_Z70xFFcSOCGW9&q=85&s=fd4341e29c146c87a410b4c52c5a914e" width="1032" height="542" data-path="articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-2.png" />
    </Frame>
  </Step>

  <Step>
    Choose the destination from the list of available destinations by using the search feature.

    <Frame>
      <img src="https://mintcdn.com/zeotap/WL_Z70xFFcSOCGW9/articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-3.png?fit=max&auto=format&n=WL_Z70xFFcSOCGW9&q=85&s=f2930e066e937c1afd076171ae685b91" width="1896" height="1056" data-path="articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-3.png" />
    </Frame>
  </Step>

  <Step>
    Under the **Destination Details** tab, the **Access Token,** **X-UA-Appkey** and **region** fields are automatically populated based on the value that you had entered while creating the destination.
  </Step>

  <Step>
    Under the **Destination Settings** tab, choose the Action and mapping as per your requirement.

    <Frame>
      <img src="https://mintcdn.com/zeotap/WL_Z70xFFcSOCGW9/articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-4.png?fit=max&auto=format&n=WL_Z70xFFcSOCGW9&q=85&s=87cd4ac94b7c8134a5ca3d826db66722" width="1910" height="1754" data-path="articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-4.png" />
    </Frame>
  </Step>

  <Step>
    Upon clicking **Save Destination**. The destination is attached as shown in the image below.

    <Frame>
      <img src="https://mintcdn.com/zeotap/WL_Z70xFFcSOCGW9/articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-5.png?fit=max&auto=format&n=WL_Z70xFFcSOCGW9&q=85&s=43b61a20f28d3141fd924071f8436cd6" width="1884" height="1086" data-path="articles/integrate-customer/Storage/integrate-customer/airship-real-time-destination-integration/airship-real-time-destination-integration-2024-08-07-5.png" />
    </Frame>
  </Step>
</Steps>
