# Install OptiMonk on Unas with Script Insertion

Canonical URL: https://support.optimonk.com/en/articles/install-optimonk-on-unas-with-script-insertion

On Unas you add OptiMonk under **Script Insertion** in your Unas admin. Unas asks for the script address, not the full code, so the OptiMonk guide gives you exactly that address to copy.

---

## How do I open the Unas guide in OptiMonk?

1. In OptiMonk, open **Settings**, then the **Domains** tab.
2. Click the row of your Unas domain, then **Connection guide**.
3. If OptiMonk recognizes your Unas webshop, the Unas guide opens by itself. If it does not: Unas is offered in the platform list only when your OptiMonk account is set to Hungarian. In that case, choose **Unas** under the question *Milyen típusú weboldalad van?* (the Hungarian version of *What e-commerce platform do you use?*).

---

## Step 1: Copy the OptiMonk code

The guide says *Unas asks for the script address, not the full code. Copy this:* Click the copy button next to the address.

---

## Step 2: Add the code in your Unas admin

1. In a new tab, log in to your Unas admin, open **Settings**, point to the appearance menu (**Kinézet, Arculat** in the Hungarian admin) and click **Script Insertion**.
2. Click **Add** in the top right corner.
3. Turn on the **Active** field and fill in:

- Type: **src, head**
- Script loading mode: **Async**
- Title: **OptiMonk**
- SCRIPT src: the address you copied in step 1
4. Click **Save** in the top right corner.

---

## Step 3 (optional): Connect your product catalog

This step is optional: it is needed for product recommendation campaigns. The code works without it. The guide only shows this step if connecting the product catalog is available for your account.

1. In your Unas admin, open **Settings > External Connection > API Connection**.
2. If you have no key yet, click **Create API Key** in the top right corner.
3. Name it, give it at least **getProduct** and **getCategory** permissions, and save.
4. Paste the key from the first column into the **API key** field of the OptiMonk guide and click **Save**.

When it works, the guide says *Connected — we can keep your product catalog in sync.*

- *Invalid API key. Please verify that you've entered the correct key.* Copy the key again from the first column in Unas.
- *Missing permissions. Check your API key settings.* Give the key the getProduct and getCategory permissions in Unas, then save again.

To disconnect the catalog, click **Revoke**. After that OptiMonk cannot update your product catalog.

---

## How do I check that it works?

Click **Check now** in the bar at the bottom of the guide.

- *It works! OptiMonk is on your site.* Your campaigns can now show in your webshop.
- *Just waiting for one visitor to confirm it.* Open your webshop yourself in a new tab; as soon as it loads, the guide updates.
- *We can't see the code on your site yet.* Check that the script is set to Active and saved in Unas, then check again.

---

## Can someone else do it for me?

Click **Need Help?** at the bottom of the guide. You can hand the steps to an AI assistant with **Ask Claude** or **Ask ChatGPT**, or choose **Email it to my developer** to send the code and the steps to whoever manages your webshop.
