# Authenticate with env credentials The environment authentication endpoint uses your `clientId` and
`API key` to get a management token with access to all resources in your Frontegg environment. If you have a personal or API token from your Frontegg account, you can also use it to authenticate with this endpoint. The environment token (JWT) returned when using Frontegg account client credentials API token will have access to all environments, defaulting to the first one (development). To use a environment token that was generated through the Frontegg portal → Administration and specify which environment to use it for, include the `frontegg-environment-id` header in each request with the environment's `clientId`.
{% LightboxImage %} ![vendor](/ciam/api/images/vendor-auth.png) {% /LightboxImage %} Generate a management token for your environment through the API explorer and use it for consequent management requests as the bearer. ## Servers EU Region ``` https://api.frontegg.com/auth/vendor ``` US Region ``` https://api.us.frontegg.com/auth/vendor ``` CA Region ``` https://api.ca.frontegg.com/auth/vendor ``` AU Region ``` https://api.au.frontegg.com/auth/vendor ``` Variables: - `domain` Default: "app-xxxx" ## Download OpenAPI description [Authenticate with env credentials](https://developers.frontegg.com/_bundle/ciam/api/vendor-service.yaml) ## Other ### Authenticate with env credentials - [POST /](https://developers.frontegg.com/ciam/api/vendor-service/other/authenticate_vendor.md): Authenticate your environment to get a management token for your environment using the clientId and API key.