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

# Rise.ai

# Introduction

[Rise.ai](https://rise.ai/) Gift Cards & Loyalty is a powerful app that helps eCommerce brands boost revenue and improve customer retention.

# MoEngage × Rise.ai

With the MoEngage and Rise.ai integration, you can display your customer's loyalty information as well as their referral links dynamically inside MoEngage campaigns to increase their conversion.

# Integration

<Info>
  **Prerequisites**

  * You would need your Rise.ai [access tokens](https://api.rise.ai/) to use their APIs.
</Info>

## Display customer loyalty cards in MoEngage Campaigns

Using MoEngage's Content APIs, you can dynamically pull customers' loyalty cards inside MoEngage campaigns for a more personalized experience.

### Step 1: Set up a MoEngage Content API

Log in to the MoEngage Dashboard and follow these steps: aaa

1. Navigate to **Settings** -> **Advanced settings** -> **Content API**. Click **+ Add content API** at the top right corner of the Content API screen. <img src="https://mintcdn.com/moengage/7iGV38YjgdBKSU0B/images/partner_21980717916564.png?fit=max&auto=format&n=7iGV38YjgdBKSU0B&q=85&s=b873c85dc58b71d94b31d83c107d1188" alt="ContentAPI_Navogation.png" width="2706" height="1344" data-path="images/partner_21980717916564.png" />
2. Add your Rise.ai API to the endpoint URL. The endpoint will change depending on your use case.
   <img src="https://mintcdn.com/moengage/syqICryKE0qygh49/images/partner_19963938508564.png?fit=max&auto=format&n=syqICryKE0qygh49&q=85&s=31545e11332231275451f239c15b3388" width="2864" height="1624" data-path="images/partner_19963938508564.png" />

To display your customers' loyalty card information, use Rise.ai's [Get Customer Loyalty Card](https://api.rise.ai/).

While setting up your content API, insert the following URL:

[https://application.rise-ai.com/v2/gift-cards/?customer\_id=\{\{UserAttribute\['customer\_id'\]}}\&shop\_url=amazingshop.myshopify.com](https://application.rise-ai.com/v2/gift-cards/?customer_id=\{\{UserAttribute\['customer_id']}}\&shop_url=amazingshop.myshopify.com)

Under Headers, add the following:

1. `x-rise-access-token`: Enter your Rise.ai's API Access Token.
2. `Accept`: `application/json`
3. Click **Save** and then **Done.** After you see a successful response.

<Note>
  You can also test your APIs. To test your APIs, from the Content API's action menu, click on "Test". You can test your API response and validate it.
</Note>

### Step 2: Display your customers' loyalty card information inside MoEngage campaigns

To use this API in your MoEngage campaigns,

1. On step 2 on your campaign creation, enter @.
2. In the pop up, you can select the Rise.ai Content API configured in Step 1.
3. You can use [MoEngage Templating Language](/user-guide/campaigns-and-channels/getting-started/message-personalization/jinja-templating-language#content-api) to parse through the API response and use the content in your campaigns.
   <img src="https://mintcdn.com/moengage/syqICryKE0qygh49/images/partner_19965260285332.png?fit=max&auto=format&n=syqICryKE0qygh49&q=85&s=8f5b789a6971521a3a42457d6659cb1e" width="2658" height="1398" data-path="images/partner_19965260285332.png" />
4. You can click on the Preview tab to view your campaign in real-time personalization:
   <img src="https://mintcdn.com/moengage/syqICryKE0qygh49/images/partner_19965235942676.png?fit=max&auto=format&n=syqICryKE0qygh49&q=85&s=186009c8f19d5f18efce6fc0d8028577" width="2864" height="1602" data-path="images/partner_19965235942676.png" />
5. Once you are ready, click on Publish to send the campaign.
