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

# commercetools Studio Settings for Loqate Validation Services

> Configure Loqate Address Capture, Address Verify, Email and Phone Validation in commercetools Studio. Set API keys and validation thresholds.

Refer to the [commercetools Frontend Studio documentation](https://docs.commercetools.com/frontend-studio/accessing-the-studio) for instructions on how to access the studio.

<img src="https://mintcdn.com/loqate/Qk0UlsZU23OElwd1/images/commercetools-studio-settings.png?fit=max&auto=format&n=Qk0UlsZU23OElwd1&q=85&s=3c82da8bf26629f9584df75d2e70fef2" alt="StudioSettings" width="3617" height="2608" data-path="images/commercetools-studio-settings.png" />

## Settings

The following settings are configurable in the `Project settings`, found in the `projectConfiguration.json` file:

| Name                                              | Env Variable                                     | Description                                                                         |
| :------------------------------------------------ | :----------------------------------------------- | :---------------------------------------------------------------------------------- |
| `Project Key`                                     | LOQATE\_API\_KEY                                 | The API key used to authorize requests against Loqate                               |
| `IP to Country`                                   | LOQATE\_IP\_TO\_COUNTRY\_ENABLED                 | Toggles IP to country functionality on or off                                       |
| `Restricted Countries`                            | RESTRICTED\_COUNTRIES                            | A list of restricted country ISO2 codes                                             |
| `Checkout Address Request Limit`                  | CHECKOUT\_ADDRESS\_REQUEST\_LIMIT                | Debounce time for address capture requests                                          |
| `Checkout Address Lookup`                         | LOQATE\_ADDRESS\_LOOKUP\_CHECKOUT                | Toggle for address lookup during checkout                                           |
| `My Account Address Lookup`                       | LOQATE\_ADDRESS\_LOOKUP\_MY\_ACCOUNT             | Toggle for address lookup on the My Account page                                    |
| `Checkout - Address Verify`                       | LOQATE\_ADDRESS\_VERIFICATION\_CHECKOUT          | Toggle for address verification during checkout                                     |
| `My Account - Address Verify`                     | LOQATE\_ADDRESS\_VERIFICATION\_MY\_ACCOUNT       | Toggle for address verification on the My Account page                              |
| `Checkout Email Validation`                       | LOQATE\_EMAIL\_VALIDATION\_CHECKOUT              | Toggle for email validation during checkout                                         |
| `My Account Email Validation`                     | LOQATE\_EMAIL\_VALIDATION\_MY\_ACCOUNT           | Toggle for email validation on the My Account page                                  |
| `Checkout Phone Validation`                       | LOQATE\_PHONE\_VALIDATION\_CHECKOUT              | Toggle for phone validation during checkout                                         |
| `My Account Phone Validation`                     | LOQATE\_PHONE\_VALIDATION\_MY\_ACCOUNT           | Toggle for phone validation on the My Account page                                  |
| `Registration Phone Validation`                   | LOQATE\_PHONE\_VALIDATION\_REGISTRATION          | Toggle for phone validation during registration                                     |
| `Maybe' Phone Number Validation State is Valid`   | LOQATE\_INCLUDE\_MAYBE\_PHONE\_NUMBERS           | Determines whether the `Maybe` phone number validation state is treated as valid    |
| `Valid_CatchAll' Email Validation State is Valid` | LOQATE\_INCLUDE\_VALID\_CATCHALL\_EMAILS         | Determines whether `Valid_CatchAll` email validation responses are considered valid |
| `Email Validation Timeout (milliseconds)`         | LOQATE\_EMAIL\_VALIDATION\_TIMEOUT\_MILLISECONDS | Timeout duration for email validation requests                                      |
| `AVC - Good Address Matchscore`                   | LOQATE\_AVC                                      | The minimum matchscore threshold for an address to be considered `Good`             |

## Navigation

<CardGroup cols={2}>
  <Card title="The Loqate commercetools Integration Guide" href="/integrations/commercetools" icon="square-1">
    Learn the basics of the integration.
  </Card>

  <Card title="The Loqate commercetools Integration: Feature Overview" href="/integrations/commercetools-feature-overview" icon="square-2">
    Review the Loqate products available in the integration.
  </Card>

  <Card title="The Loqate commercetools Integration: Setup Guide" href="/integrations/commercetools-setup-guide" icon="square-3">
    Follow these steps to get started.
  </Card>
</CardGroup>
