# Enable Location Messages

To show location messages Chat SDK needs to use the Google static maps API. You need to generate a new API key:

[Google Static Maps API](https://developers.google.com/maps/documentation/static-maps/)

And add it during Chat SDK configuration or when using `quickStart`.

```
ChatSDK.builder()
        .setGoogleMaps("Your key")
```

> **Note:** You need to enable billing in your google cloud console or else you will not be able to view map images in your messages, For more information visit the [Google usage and billing support page](https://developers.google.com/places/web-service/usage-and-billing#important-enable-billing)

You can disable location messages using the `builder().locationMessagesEnabled(false)` option.
