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:
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:
-
Log in to the Squiz DXP Console.
-
Navigate to your organization.
-
From the side navigation, select Data services.
-
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.