> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/affiliate-portal-customization/advanced-customization/embed-affiliate-portal-in-your-store.md).

# Embed Affiliate Portal In Your Store

Usually, the affiliate portal is loaded up on a separate domain. However, you can choose to embed the affiliate portal in your store.&#x20;

#### You can do this by following the steps given below:

* In your Shopify control panel, click on **Online Store**, after this click on the **Pages** tab.&#x20;
* Now to create a new page click on the **Add page** button

![Add Page](/files/-LwFT5Y0yE5p6lJVxymZ)

* In the **Add page** window, click on the code input mode (**Show HTML**) in the editor.

![Click on Show HTML button ](/files/-LwFTojzWqX3-82Bg5aH)

* Here write the following code in the editor:

```markup
<iframe src="https://helloworld.goaffpro.com" 
        id="affiliate_page"></iframe>
<script type="text/javascript" src="https://static.goaffpro.com/embed.js"></script>
```

{% hint style="info" %}
You must change the **src** property of **iframe** with a link to your affiliate portal. i.e. change [https://helloworld.goaffpro.com](https://helloworld.goaffpro.com/create-account) with your own affiliate portal's link in the code above.
{% endhint %}

* After writing the code, click on **Save** to save the page.

![Write Code and Save](/files/-ML5UDOHvi7w42GJE9H2)

{% embed url="<https://youtu.be/h80s2T7C-bk>" %}
Embed Affiliate Portal In Your Store
{% endembed %}
