> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uselooop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Autocomplete

> Enabling this integration will allow users to use Google Autocomplete to fill in their address details.

## Setup

Update the Looop Config to enable Google Autocomplete for address fields.

```html theme={null}
<script>
   window.LooopConfig = {
       // ... other previous configs
   googlePlaces: true,
   googlePlacesKey: "REPLACE _WITH_YOUR_KEY",
   }
</script>
```

## Get a Google Places API Key

1. Go to the [Google Cloud Console](https://console.cloud.google.com/).
2. Click the project drop-down and select or create the project for which you want to add an API key. If you don't have a project, create a project.
3. Search for the Places API and enable it.
4. Click the menu button and select APIs & Services > Credentials.
5. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key.
6. Click Close. The new API key is listed on the Credentials page under API keys.
7. To restrict an API key, click restriction for websites adn then add your domain name to the list of allowed domains. Like `*.yourdomain.com/*`
