> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/instahaul/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/instahaul/flutter-app/connect-to-backend.md).

# Connect To Backend

After setting up the backend on your server. For your app to communicate with your setup backend you need to change the **url** endpoint on your app.&#x20;

Go to **lib/constants/api.dart** and change baseUrl variable value.

```dart
  static String get baseUrl {
    return "https://YOUR_SERVER_DOMAIN/api";
    // return "http://192.168.8.145:8000/api";
  }
```
