> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.meshnordic.ai/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# API (Headless): Integration


###### Headless REST API for e-tailers and partners.
---

# For e-tailers

* For e-tailers, the M:AI REST API requires the **Business plan or larger to work**.
* For partners, the M:AI REST API works on **all paid plans**.

E-tailers create their own API credentials by logging into their M:AI account.

If you have multiple stores (or a multi-shop), you’ll need separate accounts to create API credentials for each of your M:AI accounts.

First, make sure that you have an M:AI account. If we are partnered with your e-commerce platform, they will create an account for you. If not, please [contact us](https://support.meshnordic.ai/en/article/contact-support-community-questions-and-feedback-nvx3ly/), and we will create the account for you.

###### E-tailer API documentation
| [https://docs.maifind.ai/](https://docs.maifind.ai/)

###### Set up store settings
|| After you've integrated an e-tailer, make sure you’ve followed this guide for the [necessary settings in M:AI](https://support.meshnordic.ai/en/article/2-setup-make-the-necessary-settings-in-mai-1lo1az7/).
---

# For partners

* For partners, the M:AI REST API works on **all paid plans**.

Our partners have their own partner account through the [Mesh Nordic partner program](https://meshnordic.ai/partners). If you’re not a partner yet, then simply apply to accelerate your business!

###### Partner API documentation
| [https://docs.maifind.ai/partners/](https://docs.maifind.ai/partners/)
---

# Add and enable M:AI in your theme

**After you've imported all of your products from your ecommerce site to M:AI, you need to enable the M:AI search bar in your ecommerce theme.**

Replace your current search bar in your ecommerce site with an intelligent AI search bar.

| Follow the how-to guide: [Html / Css: How to activate M:AI search bar in your theme?](https://support.meshnordic.ai/en/article/html-css-how-to-activate-mai-search-bar-in-your-theme-f13ggk/)
---