# First steps

First, decide whether you will use the Unity game client to process requests (**case 1**) or whether they should be executed on your web server side (**case 2**).

{% tabs %}
{% tab title="Case 1" %}
Make a trigger that will call the **Mysql set config** instruction for the Mysql Server, then use the **Mysql connect** instruction that will connect to your database.

![](https://3111621278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQtiIcqgMsFRgrnrDm13V%2Fuploads%2FMqbvfwpoIHBwAlKAlyqN%2Fmysqlsetconfig.jpg?alt=media\&token=c7c12f2d-b3ec-4a97-90e4-b1229b5a82bd)
{% endtab %}

{% tab title="Case 2" %}
Make a trigger that will call the **Mysql remote server file** instruction and check *Use remote Server File* checkbox. Paste **Server file Url** to which all request will be sent. You can copy this file to your web server from Assets\rezus13\MySql\ folder and write connection settings of your Mysql server in that file.

![](https://3111621278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQtiIcqgMsFRgrnrDm13V%2Fuploads%2FrWrf9gOnejr0EN9nNAWX%2Fremote%20fileconnection.jpg?alt=media\&token=c8c90423-b24a-4af3-9225-e762195a2862)
{% endtab %}
{% endtabs %}

After that you can use any instruction of Mysql for Game Creator 2 module.
