# Connecting external database to my WIX Website

**URL:** <https://forum.wixstudio.com/t/connecting-external-database-to-my-wix-website/32363>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [December 18, 2019, 1:11pm UTC](https://forum.wixstudio.com/t/connecting-external-database-to-my-wix-website/32363 "2019-12-18T13:11:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierreboutaine](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pierreboutaine/32/16425_2.png) [@pierreboutaine](https://forum.wixstudio.com/u/pierreboutaine)\
**Post date:** [December 18, 2019, 1:11pm UTC](https://forum.wixstudio.com/t/connecting-external-database-to-my-wix-website/32363/1 "2019-12-18T13:11:11Z")

</div>

I’m quite new to WIX but up until now I have managed to do most of what I have planned to do.  
However I’m currently quite stuck with a major problem I’m having which is **connecting an external database to my WIX website.**

At the moment I haven’t set-up my database because I want to choose the database which I can integrate the best with WIX, I’m thinking om **MySQL.**

Therefore I would like to use the " **External Database Collection**" feature of WIX, however I have no idea how to set this up.

 ![](https://us1.discourse-cdn.com/wix/original/3X/1/7/17b9cebcde53d8572078cb68e0ea918f59f14b8e.png)

I have read that I will need to set up an **API** to be able do to this but this is completely new for me… I have searched quite a long time already on the internet but I haven’t found a explanation which could help me…

Is there anyone who can **point me in the right direction** on how to start with this?

Thank you!

---

<div class="post-metadata">

**Author:** ![aleksf](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/aleksf/32/5080_2.png) [@aleksf](https://forum.wixstudio.com/u/aleksf)\
**Post date:** [December 18, 2019, 1:52pm UTC](https://forum.wixstudio.com/t/connecting-external-database-to-my-wix-website/32363/2 "2019-12-18T13:52:30Z")

</div>

Hi,  
you can add an external database collection as instructed [here](https://support.wix.com/en/article/corvid-adding-and-deleting-an-external-database-collection) .

Click [here](https://support.wix.com/en/article/corvid-working-with-external-database-collections) to learn more about working with external database collections.

---

<div class="post-metadata">

**Author:** ![pierreboutaine](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pierreboutaine/32/16425_2.png) [@pierreboutaine](https://forum.wixstudio.com/u/pierreboutaine)\
**Post date:** [December 18, 2019, 2:13pm UTC](https://forum.wixstudio.com/t/connecting-external-database-to-my-wix-website/32363/3 "2019-12-18T14:13:32Z")

</div>

Hi

First of all thank you for the fast feedback. The 2 links you added are links I did already read and are unforntunaly not new for me.

The question is more that I don’t understand how to build my custom API for the SPI. Could anyone point me in the right direction and help me?

---

<div class="post-metadata">

**Author:** ![givemeawhisky](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/givemeawhisky/32/5383_2.png) [@givemeawhisky](https://forum.wixstudio.com/u/givemeawhisky)\
**Post date:** [December 18, 2019, 3:14pm UTC](https://forum.wixstudio.com/t/connecting-external-database-to-my-wix-website/32363/4 "2019-12-18T15:14:49Z")

</div>

Wix won’t be able to help you build your own API for your external database collection as it won’t be a Wix product.

Depending on where your external database is stored, if you are using another company for example, then they should in theory have their own API, look for REST API, which you will be able to use with your database to pass data to and from that API to Wix API.

If you are using another company, then they should be able to provide you help through their own support with the ‘Important Information for Creating Your Adapter’ section of that tutorial page.

You can look online for many ways of making your own API etc.  
[https://rapidapi.com/blog/20-tutorials-on-how-to-create-your-own-api-sorted-by-programming-language/](https://rapidapi.com/blog/20-tutorials-on-how-to-create-your-own-api-sorted-by-programming-language/)  
[https://swagger.io/blog/api-development/how-to-build-an-api/](https://swagger.io/blog/api-development/how-to-build-an-api/)

If you are really struggling, then have a look at finding somebody from the Wix Arena who can help you with this task. [https://www.wix.com/arena/web-designers/1](https://www.wix.com/arena/web-designers/1)
