# Server Connection

When your admin panel already configured properly, you can connect it to your android app, login to your admin panel, navigate to settings menu, copy your **Server Key** and **Rest API Key** then put the keys to **java/\<your\_package\_name>/Config.java** in the **SERVER KEY &** **REST\_API\_KEY** string tag for server connection and security purpose.

{% code title="AppConfig.java" %}

```java
//your Server Key obtained from the admin panel
public static final String SERVER_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

//your Rest API Key obtained from the admin panel
public static final String REST_API_KEY = "xxxxxxxxxxxxxxxxxxx";
```

{% endcode %}

<div align="left"><img src="https://1461748827-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LfF_3Ru2C6swaaHXvVo%2F-Ml9SqTlrY96BmIFXm_e%2F-Ml9TLg4Qa-BrFjzsZDf%2Fimage.png?alt=media&#x26;token=43b818b6-f41f-4c1a-862d-983112606144" alt=""></div>
