# Integration Advisor

The **Integration Advisor** in SAP Integration Suite helps streamline and accelerate integration projects by providing tools to define, customize, and manage interface content such as codelists, IDocs, messages, and SOA structures. It enables organizations to adapt standard content to meet specific business requirements, ensuring consistency and reducing manual effort in integration scenarios.

Before using Integration Advisor, some setup is required both in **SAP BTP** and in **ReleaseOwl** to enable access and manage integration artifacts effectively.

### **Prerequisites**&#x20;

Before proceeding with Integration Advisor , ensure the following are in place:

1. **Integration Suite Created**: The **Integration Suite** must be set up within SAP Business Technology Platform (SAP BTP).

2. **API Instance Created**: An **API Instance** must be created to provide the credentials required for configuration in the **CPI Environment**.

3. SAP CPI Environment Configured in ReleaseOwl

4. &#x20;**Role Collections Assigned**: To enable Integration Advisor capabilities, assign the following role collections to the **Identity Provider (IdP)**:

   * `iadv-content-developer`&#x20;

5. **Create the Custom Role  Collection:**&#x20;

* Navigate to **Security → Role Collections** in the SAP BTP Cockpit.

<figure><img src="/files/Kbp59NHwHYFRdtj1QkFH" alt=""><figcaption></figcaption></figure>

* Click **Create** and enter the **Role Collection Name**. Confirm by clicking **Create**.
* Once the role collection is created, select it from the list and click **Edit**.

<figure><img src="/files/b5OKrMxgiCEVZIx3QD6A" alt=""><figcaption></figcaption></figure>

* Under the **Roles** section, click **Add Role** and assign the required roles. Add the **Content Developer** role.
* Click **Save** to update the role collection.

<figure><img src="/files/SEABx07jV8UFHDRTgbJZ" alt=""><figcaption></figcaption></figure>

### **Steps to Create a Custom Type System** <a href="#pdf-page-gq2jqh5hz5sfguou1udk-steps-to-create-a-custom-type-system" id="pdf-page-gq2jqh5hz5sfguou1udk-steps-to-create-a-custom-type-system"></a>

1. Navigate to **Integration Suite**.
2. Click on the **Actions** button (**...**) to open the application.
3. Click on the **Design** section.
4. Under **Design**, select **Custom Type Systems**.
5. Choose the type of system you want to create:
   * **Custom Codelists**
   * **Custom IDocs**
   * **Custom Messages**
   * **Custom SOA Messages**
6. Enter the required details and save the configuration.

<figure><img src="/files/SogjRyrMER9ttBH8frQH" alt=""><figcaption></figcaption></figure>

### **Creating MIG and MAG in Integration Advisor** <a href="#pdf-page-gq2jqh5hz5sfguou1udk-creating-mig-and-mag-in-integration-advisor" id="pdf-page-gq2jqh5hz5sfguou1udk-creating-mig-and-mag-in-integration-advisor"></a>

1. Navigate to **Integration Advisor** and go to the **MIG** section.
2. Click on the **Create** button to initiate a new Message Implementation Guideline (MIG).
3. In the **Type Systems** step, switch to the **Custom** tab.
4. You will see the available **Custom Type Systems** that you previously configured (e.g., Custom Codelists, Custom IDocs, etc.).
5. Select the appropriate **Custom Type** System to proceed with creating your MIG or MAG.

<figure><img src="/files/1R9XBsgCsxgwVmkBqyCS" alt=""><figcaption></figcaption></figure>

### **Creating the project** <a href="#pdf-page-gq2jqh5hz5sfguou1udk-creating-the-project" id="pdf-page-gq2jqh5hz5sfguou1udk-creating-the-project"></a>

1. Go to the **Administration** page.
2. Under the **Projects** section, click on the **Create New Project** button (top-right corner).
3. Fill in the **Project Details**:
   * A popup form titled **Create Project** will appear.
   * Enter the required details in the form.
4. Click **Save** to create the project.

<figure><img src="/files/Ac0aujskfWArdEs4r4o2" alt=""><figcaption></figcaption></figure>

### **Environment Section** <a href="#pdf-page-gq2jqh5hz5sfguou1udk-environment-section" id="pdf-page-gq2jqh5hz5sfguou1udk-environment-section"></a>

1. The newly created project will be listed in the **Projects** table.
2. Click on **Switch to Project** and go to the **Project Settings**.
3. In the **Project Settings** page, navigate to the **Environments** tab.
4. This section displays all environments already associated with the project.
5. Click on the **+ Add** button in the top-right corner of the **Environments** table.
6. If this environment will serve as the source for deployments or synchronization, check the **Source** checkbox.
7. The newly added environment will appear in the **Environments** table with its **Name, Type, and Host URL**.

<figure><img src="/files/qa1mNLEaKWa86Esp2sxW" alt=""><figcaption></figcaption></figure>

### Managing User Permissions <a href="#pdf-page-gq2jqh5hz5sfguou1udk-managing-user-permissions" id="pdf-page-gq2jqh5hz5sfguou1udk-managing-user-permissions"></a>

1. Click on the **Users** tab.
2. Click on the **edit (lock) icon** next to the user for whom you want to manage roles and permissions.

<figure><img src="/files/FYIMpAU66Hkj1YL2mNZq" alt=""><figcaption></figcaption></figure>

3. The **Permissions** page for the selected user will open.
4. Scroll down to the **Environments** section.
5. Check the **Deploy** checkbox for the relevant environment(s) to enable deploy access.

<figure><img src="/files/fqkAu3ArnvmAEXd69enp" alt=""><figcaption></figcaption></figure>

### &#x20;Add Artifacts <a href="#pdf-page-gq2jqh5hz5sfguou1udk-synchronization-with-releaseowl" id="pdf-page-gq2jqh5hz5sfguou1udk-synchronization-with-releaseowl"></a>

1. Go to the **Build** section and click on **Integration Advisor**.
2. Click **Add Artifacts**. The system displays the available Integration Advisor artifacts in separate tabs based on the artifact type, such as:
   * **MAG**
   * **MIG**

<figure><img src="/files/y82k8fQwzvdiIVhma8Xn" alt=""><figcaption></figcaption></figure>

3. Select the required artifacts from the respective tabs.
4. Click **Add** to import the selected artifacts into ReleaseOwl.

<figure><img src="/files/MBd9Q8tUrTsoUxaGTPkn" alt=""><figcaption></figcaption></figure>

5. Once the process is completed, the selected **MAG** and **MIG** artifacts will be displayed in the Integration Advisor section.

<figure><img src="/files/xTVZSdI8w7gDQAmeit42" alt=""><figcaption></figcaption></figure>

**Sync History**

The **Sync History** provides details of previous synchronizations, including:

* **Synced On** – Timestamp of synchronization.
* **Synced By** – User who performed the synchronization.

<figure><img src="/files/Ezu7ZQrSBHSbr6yrrhPg" alt=""><figcaption></figcaption></figure>

4. By clicking the **Action** button, you can view:

<figure><img src="/files/wdd2IdaFAKZaktrLZPIg" alt=""><figcaption></figcaption></figure>

#### Actions

By clicking the **Actions** button, the following options are available:

* **Sync**:\
  Allows individual synchronization of **Mapping Guidelines (MAG)** and **Message Implementation Guidelines (MIG)** artifacts, fetching the latest version from the source system.

<figure><img src="/files/vqjNF5Ns6rK1DxXGuEOe" alt=""><figcaption></figcaption></figure>

* **Versions**:\
  Displays the version history of the selected artifact, enabling tracking and management of changes over time.

<figure><img src="/files/W8Vz4fcDpuBiDBaGpwTc" alt=""><figcaption></figcaption></figure>

Within the **Versions** view, you can:

* View the complete version history
* Assign or unassign a user story associated with a specific version
* Track changes across versions for audit and review purposes

<figure><img src="/files/La2749nugeCieeXSumPT" alt=""><figcaption></figcaption></figure>

* **Download**:\
  Enables downloading of the selected artifact (MIG or MAG) to the local system for offline access or reference.

<figure><img src="/files/k0mpRS69FYug8YvMA6O0" alt=""><figcaption></figcaption></figure>

* **Download**

  * The **Download** option under the Action menu lets you download the message or artifact locally.

  <figure><img src="/files/gXx1xrwiNFqRLNasTH1U" alt=""><figcaption></figcaption></figure>
* **Details**: Provides additional information about the artifact.

<figure><img src="/files/Q2uOFvuS0aBnNrqcw5Rq" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/rSy2NCWdLaSvOFgGZqCD" alt=""><figcaption></figcaption></figure>

### **Creating and Managing a Release Pipeline** <a href="#pdf-page-gq2jqh5hz5sfguou1udk-creating-and-managing-a-release-pipeline" id="pdf-page-gq2jqh5hz5sfguou1udk-creating-and-managing-a-release-pipeline"></a>

**1. Creating a New Release Pipeline**

1. Navigate to the **Release** section.
2. Click on **Release Pipeline** and select **Create New Release Pipeline**.

<figure><img src="/files/sOBS7YQUy9PfVzItDzCM" alt=""><figcaption></figcaption></figure>

3. Enter a **name** for the release pipeline.
4. Click **+Add Stage** to create a new stage.

<figure><img src="/files/NNC2rbeBATOzg2UyfLGm" alt=""><figcaption></figcaption></figure>

**2. Configuring Deployment Tasks**

1. Under the **Tasks** section, click **Add** to create a task.
2. Select the **deployment** option for the deployment process.
3. Fill in the required details:
   * **Name:** Enter the task name.
   * **Deploy Type:** Choose either **CPI** or **API**.
   * **Select Environment:** Choose the target environment for deployment.
   * **Deployment Action:**
     * **Upload and Deploy:** Uploads and immediately deploys the package.
     * **Upload Only:** Uploads the package without deployment.
   * **Rollback Settings:** Enable rollback if needed for deployment recovery.
4. Once all required details are entered, **save** the pipeline.
5. *(Optional)* Configure **Notification Emails** to notify relevant users.

<figure><img src="/files/amIys3KqTbW4bQttenl0" alt=""><figcaption></figcaption></figure>

**3. Setting Up Approval Tasks**

1. Under the **Tasks** section, click **Add** to create a task and select **Approval Task**.
2. Fill in the necessary details:
   * **Name:** Assign a name to the approval task.
   * **Assign To:** Select who should approve the task:
     * **User:** Assign a specific user.
     * **Role:** Assign based on user roles.
     * **Custom:** Assign based on a custom rule.
     * **Story Assignee:** Assign to the person responsible for the user story.
3. Once configured, **save** the pipeline.

<figure><img src="/files/wVaDRWaOhJ09ZgCIyAqw" alt=""><figcaption></figcaption></figure>

**4. Assigning Artifacts to User Stories**

1. Navigate to **Change Management** and click on **User Stories**.
2. Click **Create New User Story**, fill in the required details, and save it.
3. Click on the **Action** button, select **Edit**, and add the **integration artifacts**.
4. Click **Save** to update the user story.

<figure><img src="/files/UYaSU1ApQ6hoHp8T9zlQ" alt=""><figcaption></figcaption></figure>

5. Click the **three-dot (More Actions)** menu.
6. Select **Import Settings**.

<figure><img src="/files/IWkQVgHupjOXAJa0XiEW" alt=""><figcaption></figcaption></figure>

6. A pop-up message will appear, where you can enable the **Force Deploy** option. Click **Save** to apply the changes.

<figure><img src="/files/fgSSeND1ft3nEfuzXjuk" alt=""><figcaption></figcaption></figure>

7. When *Force Deploy* is enabled, version validation checks do not block the deployment.
8. If the target environment version is higher than the source environment version, a warning message is displayed.
9. Click **Promote** to check the **deployment status** of the user story.
10. Click **Deploy Logs** to view deployment details.
11. An indicator icon appears in the **Deployment Logs** to show that Force Deploy was applied.

<figure><img src="/files/4v5vrGxsYyTZQwVdbNtx" alt=""><figcaption></figcaption></figure>

12. In the **Info Section**, you can see **artifact details**:

* **For MAG:**  You can see the details of Message type and administrative data.

<figure><img src="/files/aGfx8GaYEdKT2wSHAtnp" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/z3adShS0dzKkeVrr00J2" alt=""><figcaption></figcaption></figure>

* **For MIG:** You can see the details of Source MIG, Target MIG, and administrative data.

<figure><img src="/files/f2fFEAEcNz6f0dx9Bn7p" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5iG5q0IbvB5252JCi04B" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://releaseowl.gitbook.io/releaseowl-docs/releaseowl-user-guide/sap-integration-suite/cpi-management/integration-advisor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
