# Linking to Mautic

**URL:** <https://community.parabola.io/t/linking-to-mautic/673>\
**Category:** Ask a question\
**Created:** [June 10, 2020, 5:11am UTC](https://community.parabola.io/t/linking-to-mautic/673 "2020-06-10T05:11:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Standing](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@Tony\_Standing](https://community.parabola.io/u/Tony_Standing)\
**Post date:** [June 10, 2020, 5:11am UTC](https://community.parabola.io/t/linking-to-mautic/673/1 "2020-06-10T05:11:35Z")

</div>

Hi All,  
Could someone please help me to understand what I need to enter in the api information to link to Mautic?  
I keep getting to the authorize stage but then constantly get either a 400 error or a 302 error.  
I am just unsure of how to set this up in Parabola.  
I can connect to my first api([dexi.io](http://dexi.io)) but I am just struggling so much with Mautic.

Hope someone can help!  
Api files: [https://developer.mautic.org/#rest-api](https://developer.mautic.org/#rest-api)

thanks in advance.  
Tony

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/brian/32/11_2.png) [@brian](https://community.parabola.io/u/brian)\
**Post date:** [June 10, 2020, 7:42pm UTC](https://community.parabola.io/t/linking-to-mautic/673/2 "2020-06-10T19:42:59Z")

</div>

Hey Tony!

Are you able to enable and use Basic Auth?

> basic authentication can be enabled through Mautic’s Configuration → API Settings

Then you just need to use the “Username and Password” auth type in Parabola, which will be much easier than using OAuth 2.

---

<div class="post-metadata">

**Author:** ![Tony\_Standing](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@Tony\_Standing](https://community.parabola.io/u/Tony_Standing)\
**Post date:** [June 11, 2020, 4:15am UTC](https://community.parabola.io/t/linking-to-mautic/673/3 "2020-06-11T04:15:05Z")

</div>

Hi Brian,  
I have tried this in every possible combination that I can think of. I have tried it with Username and Password, I have tried it without and by adding headers for Authorization: Basic dXNlcjpwYXNzd29yZA== , like Mautic documentation suggests.

To authorize a request for basic authentication, set an `Authorization` header.

1. Combine the username and password of a Mautic user with a colon `:` . For example, `user:password` .
2. Base64 encode the string from above. `dXNlcjpwYXNzd29yZA==` .
3. Add an Authorization header to each API request as `Authorization: Basic dXNlcjpwYXNzd29yZA==`  
Replacing the Base64 with my username and password, encoded.  
I have tried it with Username and Password and the header, but I get nowhere with it. I can be done with Zapier, so I must be able to do it in Parabola!!!

Best wishes  
Tony

---

<div class="post-metadata">

**Author:** ![Tony\_Standing](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@Tony\_Standing](https://community.parabola.io/u/Tony_Standing)\
**Post date:** [June 11, 2020, 2:54pm UTC](https://community.parabola.io/t/linking-to-mautic/673/4 "2020-06-11T14:54:18Z")

</div>

So  
I got this kind of working. It seems that I had to delete the flow and start again, don’t really know why.  
It connects to Mautic, but now all I get is a different error when i run the flow:

{  
“errors”: [  
{  
“code”: 404,  
“message”: “Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator!”,  
“type”: null  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![sachi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.parabola.io/sachi/32/10_2.png) [@sachi](https://community.parabola.io/u/sachi)\
**Post date:** [June 12, 2020, 4:22am UTC](https://community.parabola.io/t/linking-to-mautic/673/5 "2020-06-12T04:22:42Z")

</div>

Hi Tony - It looks like your flow has run successfully since you encountered this error. Were you able to resolve the issue? Let me know if you’re still encountering this problem!
