# Mautic

## Mautic Configuration

1. Download Alita Plugin: <https://bit.ly/alita_mautic> & upload to sever {folder\_code}/plugin<br>

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FTjXw3eTi4Hgr17aPKxNx%2F1280X1280.PNG?alt=media&#x26;token=19f60f93-905a-42b4-b3c3-e110bcf00721" alt=""><figcaption></figcaption></figure>

2. View File
   * /app/bundles/LeadBundle/Views/List/index.html.php
   * /app/bundles/LeadBundle/Views/List/\_head.html.php&#x20;
   * /app/bundles/LeadBundle/Views/List/\_segment\_list.html.php

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2F2EwKKZ5elV24BAHIpzxn%2F1280X1280%20(1).PNG?alt=media&#x26;token=ae7603de-79f8-43d3-9c41-2b9f52fa1fbf" alt=""><figcaption></figcaption></figure>

3. Themes : /app/bundles/LeadBundle/Views/List/\_segment\_list.html.php

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FBz2DcCKT7N0LVuTRLiNC%2F1280X1280%20(2).PNG?alt=media&#x26;token=ac974bf6-ea37-4352-9d41-858397a31288" alt=""><figcaption></figcaption></figure>

4. Run Query

&#x20; ALTER TABLE `leads`  CHANGE COLUMN `from_api` `from_api` VARCHAR(255) CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4\_unicode\_ci' NULL ,  CHANGE COLUMN `segment_id` `segment_id` INT NULL ;

***

## Get Alita API Key and Import Segment&#x20;

1. Get Alita API key

   1. Login the theAlita.com: **<https://app.theAlita.com>**
   2. Get the API key

   ![](https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FD0uMQ1eaLSDLl9SsmfVP%2FScreenshot_1.jpg?alt=media\&token=ca74afc1-7822-4516-a0f0-d0f3ed4dca8b)

2. Input Alita API Key to Mautic Plugin: Login to your Mautic system: **Configuration** menu / **Plugins**&#x20;

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FyaZFQz7ciEGDNCvWchU3%2FScreenshot_2.jpg?alt=media&#x26;token=864ce9c9-3c0d-4041-9c1e-4514a23ecccb" alt=""><figcaption><p>Chosse Alita Logo</p></figcaption></figure>

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FRIlecyeA437W3MvDkjNK%2FScreenshot_3.jpg?alt=media&#x26;token=b3968dc5-572b-46ba-968e-9489b5389bcd" alt=""><figcaption></figcaption></figure>

1. Import Segment from theALITA to Mautic: Go to **Segment** menu & import segment

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FWDmHHLdWUV7bgmSjeWg1%2FScreenshot_5.jpg?alt=media&#x26;token=4529e371-43a1-4f9c-bb77-2d382f9954f0" alt=""><figcaption></figcaption></figure>

2. Please ensure you have Segments on the theALITA platform.

<figure><img src="https://1538408613-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOnal3rPabp77VtqFEojv%2Fuploads%2FmktluvRfTvjnJ0hNEyzY%2Fyour-segment.jpg?alt=media&#x26;token=f1a63c04-853e-47b5-a6e4-3090da6c1405" alt=""><figcaption></figcaption></figure>
