> For the complete documentation index, see [llms.txt](https://zak-2.gitbook.io/zak-affiliate-marketing-and-links/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zak-2.gitbook.io/zak-affiliate-marketing-and-links/zak-affiliate-marketing-and-link/how-to-set-up-zak-affiliate-marketing-and-short-links-on-shopify.md).

# How to set up Zak Affiliate Marketing & Short Links on Shopify?🤔

To configure **affiliate marketing** and generate **short links**, begin by installing the [**Zak Affiliate Marketing & Link**](https://apps.shopify.com/zak-affiliate-marketing-link) app from the **Shopify App Store.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXctjAQY3h9ifw6CAYNlx8RIxFs75bQ3SKtsT5ldAZHy1rGdfEGOmF7UchCwkABFtPXM96AwwSB3dCZ_6Cl55xOmS2ROnGyUwGiC_xD78RbmLJSS2UF-0wX3I_S63vgrGQ9Dq27mhw?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

After installing the app, you will land on the **'Get Started'** page. Click on **'Get Started'** to begin the setup process in the **Zak app.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfn6yYE0860IdZHIUIHcPPKdaOLt6V-7ZI2ccXyQ8Dk4cS8WNihNOuWwyKfSFdOSk0oyttdNKM_wxcozYFE7CbF8Z8TEZRo_lnm5repR04V3MnzZY5ArEX_uEMSOrxEPx2h69fsNw?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

Click on **"Enable"** to activate the app extension in the **theme embed** and unlock all features.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAIvFWi19wdfl3CWU45cEikoIqyJKY2YqC-OfNvYkqFrWhcxPFQbswOt9ScEALLq_t-O-dG_t8WVkJW7p9ct1wTgrmh0UdQShbzIxoHN6RY-fhDQYunhoD1whrywTKIfY-oh5DsA?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

After activating the extension, click on **'Verify Installation.'** Once verified, click on **'Next,'** which will become **enabled,** confirming that the app is **successfully activated** in the **Theme Embed.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXca7S7E0czJqL6zpBPsQ5NpdKjG2X1irV_XIO3c3JHZ3RIr3ezvGTtn17QsxanEnb6tbZFt4pH_iNDpjO5ONGH4ZkwLSg1E7U9yTbpNFzhMYz9Ndxd38yI7Szm8pq3Xlf9BObaG?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

Next, **enter a name** and set the **default commission rate** for your **affiliates**. You can choose between a **percentage-based commission** or a **fixed amount,** depending on what best suits your needs, as both options are **supported in Zak.**\
Once the details are added, click on the **'Save & Next'** button to proceed.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdH0fi9vN0WOYHq_4dKg1S9f6Su2qcmJHyyOhi6qnl62nqPur37wtBQ4INuSclUYKbTzvOTvhQwMBoYAGGTbRIrtRYC6F99AjO9ioHLcDFYqpkMkGllB8ivWYJf7zNAT55advOLOw?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

Select the **commission payment methods** to be displayed for **affiliates,** enabling them to choose their **preferred option** and enter **payment details.** Then click on **“Save”.** <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdRVMLMygD6ukVSZGAr3ewn4Sh19GPs9d35UABC64Onknf365weBB9SpNWtkH1hO7ofMWb4sDwU6v4bJDrVLieVPMx2B5HSIMP7Z7_dzkIcdsx5J2s4UEkxIMO7UEfs2cwUVoHR_w?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

You can add an **Affiliate Portal page** to your **website,** allowing affiliates to **log in and manage their accounts.** This page can be added to your store’s main **navigation menu, footer, customer account page,** or **kept hidden** based on your preference. You can customize the **menu page name** to display it as per your preference for customers.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeELeVVniXetqYTRs82VZ_vp3VxsN860w5m20LPJhjbssLAaqmVWpLLBwIOkMHK9HmmFEQavFyAYwKNQrmLFmkv3oqW_-iV-ceBWjvtDD0REBc_MlGkyhGKAcLZ799BVQrtU43B?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

Next, you have the option to add your **first affiliate** and **assign** them to a **program.** This step is **optional,** you can add an affiliate now or choose to do so later at your convenience. Once completed, click on **'Finish'** to finalize the setup.

<figure><img src="/files/kYhMCjbH4iCopaAe48b7" alt=""><figcaption></figcaption></figure>

After completing the setup, you will be redirected to the **Zak dashboard😊.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXft7w9c7f1Lu-EuVwfRoeA637jKANaAC6Nv8I7Ajs1LNj1RS1uL13Jq9c5DwWSadb2yo9VfSmbOU1HzsMHjsAjOlC_O8Zjjc7CNrDlNXzWLDs60gAvODOMusMlzkzVZMp-G2lTxsQ?key=nUa0w9s01I7jl3cuHqrkGzmV" alt=""><figcaption></figcaption></figure>

\ <br>


---

# 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://zak-2.gitbook.io/zak-affiliate-marketing-and-links/zak-affiliate-marketing-and-link/how-to-set-up-zak-affiliate-marketing-and-short-links-on-shopify.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.
