> For the complete documentation index, see [llms.txt](https://docs.airim.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airim.co/getting-started/integrating-with-wordpress.md).

# Integrating with Wordpress

Setting up Airim on Wordpress is extremely easy. You just need to paste your unique Airim code in your website footer just below the `</body>` tag

To register and get the code, follow Steps 1-4. If you already have the code, go directly to Step 5.

1. [Login](https://app.airim.co/login) to your Airim account, or [Sign up for Free](https://app.airim.co/signup) if you don't have one.<br>
2. You will reach your Dashboard. From the icons on the menu to your left, click **Settings**\
   \
   &#x20;<img src="/files/-LX3Lk-KXYsfNeRP3Ydd" alt="" data-size="original"> <br>
3. From your Settings page, click **JavaScript Code**\
   \
   &#x20;<img src="/files/-LX3MUz3ZXrFchwBVUNX" alt="" data-size="original"> <br>
4. There's your unique code! Scroll down and click **COPY CODE**\
   \
   &#x20;<img src="/files/-LX3Nkt8lyCXVW_vmxAV" alt="" data-size="original"> <br>
5. Login your to Wordpress account by going to your **sitename/wp-admin**\
   \
   &#x20;<img src="/files/-LX3P7BG6BO76J4EOwaX" alt="" data-size="original"> <br>
6. From the menu to your left, select **Appearance** and click **Editor**\
   \
   &#x20;<img src="/files/-LX3PpA8EKwQSCWIt4JA" alt="" data-size="original"> <br>
7. If asked for Heads Up, click "**I Understand**". Else, go to next step\
   \
   &#x20;<img src="/files/-LX3QuVYmGTH8M-_TD1K" alt="" data-size="original"> <br>
8. From the menu on your *right*, click **Theme Footer (footer.php)**\
   \
   &#x20;<img src="/files/-LX3RrNRrTH9DIN0xMzr" alt="" data-size="original"> <br>
9. Scroll down until you see `</body>`. Paste the code right after that.\
   \
   &#x20;<img src="/files/-LX3SzZ9Sf0HzB3Nwm-Z" alt="" data-size="original"> <br>
10. Click **Update File** and voila! you are done :smiley:&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.airim.co/getting-started/integrating-with-wordpress.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
