Obtaining environment hostnames

Retrieving the correct hostname for your Data Services service is required to make API requests or configure the Datastore SDK.

This guide uses the following placeholders for Datastore hostnames:

  • [dxp-hostname]: The hostname for your production or staging service in Squiz DXP (for example, au-123.datastore.squiz.cloud).

  • [sim-hostname]: The hostname for your local Datastore simulator (for example, localhost:7001).

Refer to Obtaining environment hostnames for instructions on obtaining your specific hostnames.

Obtaining your DXP environment hostname

Retrieve the hostname from the Squiz DXP Console for production or staging environments:

  1. Log in to the Squiz DXP Console.

  2. Navigate to your organization.

  3. From the side navigation, select Data services.

  4. Identify your specific data service in the list to find its URL.

The environment hostname typically follows the pattern: [region]-[id].datastore.squiz.cloud. For example: au-ac4e068d.datastore.squiz.cloud.

Obtaining your local simulator hostname

The hostname appears in the CLI output when you start the local Datastore simulator. By default, the simulator uses localhost and a port range between 7001 and 7010.

For example, the simulator URL is: http://localhost:7001.