> For the complete documentation index, see [llms.txt](https://docs.tip4serv.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tip4serv.com/store-management/self-host-your-frontend.md).

# Self-host your frontend

If you are the type of person who wants to customise everything, this article is exactly what you are looking for, but get ready, it's about to get technical.

#### 1 - Requirements

Before starting anything, make sure you possess the following stuff:

* A server or a website hosting solution to host your site. Please make sure your hosting service is compatible with the front-end you will choose. (This is further explained in steps 3 and 4.)
* Some coding knowledge or AI knowledge to let AI code your front-end.

Self-hosting your front-end can be very time-consuming because you will be the one managing the server and the code of your website. With native themes, Tip4Serv was the one that did this job for you.

***

#### **2 - Getting an API Key**

To be able to connect your Tip4Serv data to your store, you will absolutely need an API key which will allow you to fetch, for example, your categories, your products, your store information and so on...

To get your API key, visit the [API Key page](https://tip4serv.com/dashboard/api-keys) and create an API key. Please be aware that you will only need read permissions 95% of the time. Keeping the permissions as limited as possible is very important in case your app or server gets hacked.

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2FFZ1gGTHtT3iSg09PxBAl%2Fbrave_AP06WyDqv6.png?alt=media&amp;token=2b246c3b-22d0-4f48-b1b5-7dd58f9661c8" alt="" width="329"><figcaption></figcaption></figure>

***

#### 3 - Getting a starting template

If you are crazy, you can start building from scratch; nothing stops you from doing it. In that case, you can visit the [API documentation](https://tip4serv.gitbook.io/tip4serv-api) and the [tip4serv.js](https://js.tip4serv.com/demo.html) documentation.

But for most of you "Normal" people, you will probably need to start with a template instead, and it won't stop you from customising every single detail; you'll just save a lot of time.

Tip4Serv already offers different starting templates; we actually call them "API themes", and you can get them easily on the [Theme page](https://tip4serv.com/dashboard/themes).

<figure><img src="https://2187496599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrJFlpzFF4M0XjvFfIMsk%2Fuploads%2FUgyAtpzZNxVu2WPDkF59%2FMwd0AoFqa6.png?alt=media&amp;token=46ce839b-97c7-40f3-8e5a-de1b2af248f6" alt=""><figcaption></figcaption></figure>

Once you've made your choice on which template to choose, you can click on the **Source Code** button, which will redirect you to a GitHub repository. You can download the API theme by clicking on the green Code button and clicking on Download ZIP.

Once you have the ZIP, extract it somewhere and follow the instructions indicated in the README section of the GitHub repository. You can also ask an AI to set everything up, but make sure to replace the API key in the configuration with your previously created API key.

Once this is done, you can customise every single detail by modifying the code either yourself or with the help of AI.

***

#### 4 - Making the site public

Once you are satisfied with the result, the last step is to make the site public. To do so, you will either need a server like a VPS or a dedicated server where you have complete SSH access, or you will need to use a hosting service fully adapted to your front-end. For example, if you used a Next.js front-end, Vercel can handle all the complexity for you without any system administration required. This will really depend on the type of front-end you chose. You can ask AI to guide you on which hosting solution to choose.
