## In your app configuration

Amplify Geo is dependent on your Amplify Auth category. If it is not already configured, then you will need to [configure it](/lib/auth/existing-resources) as well.

Existing Amazon Location Service resources can be used with the Amplify Libraries by adding information about the resources to your `amplifyconfiguration.json` file.

```json
{
    "geo": {
        "plugins": {
            "awsLocationGeoPlugin": {
                "region": <YOUR_REGION>,
                "maps": {
                    "items": {
                        <YOUR_MAP_NAME>: {
                            "style": <YOUR_MAP_STYLE>
                        }
                    },
                    "default": <DEFAULT_MAP_NAME>
                },
                "searchIndices": {
                    "items": [
                        <YOUR_PLACE_INDEX>
                    ],
                    "default": <DEFAULT_PLACE_INDEX>
                }
            }
        }
    }
}
```