Configure a tenant with the Tenant Service
This topic describes how you configure a tenant with the Tenant Service (TS) on a Sitecore server.
To enable the TS feature on a Sitecore server, you do not have to create a new tenant. You can extend an existing tenant with TS features by following points 5-9 in the following procedure.
To create a tenant with TS:
-
In the content tree, navigate to /sitecore/system/Data Exchange.
-
Create an Empty Data Exchange tenant using the Insert option.
NoteYou can also extend an already created tenant with the Tenant Service feature.
-
Right-click the menu ribbon, and verify that the Data Exchange SDK ribbon tab is enabled.
-
Select the newly created tenant item.
-
On the Data Exchange SDK ribbon, click Upgrade Tenant.
-
In the Upgrade Tenant dialog, in the Instruction set drop-down menu, select Tenant Service.
-
Click Next.
-
Click Start Upgrade.
-
You can confirm the tenant was upgraded by finding the Tenant Service Endpoints and Tenant Service Settings items under the upgraded tenant.
-
On the server, navigate to the root folder of the Sitecore installation, open the
web.configfile, and add the followinghttpProtocolto thesystem.webServernode:RequestResponse<system.webServer> ... <httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="http://<tenant.service.hostname>"/> <add name="Access-Control-Allow-Headers" value="*" /> <add name="Access-Control-Allow-Methods" value="*" /> </customHeaders> </httpProtocol> ... </system.webServer>NoteIn the example, replace
<tenant.service.hostname>with the actual hostname of your Tenant Service, for example,my-sitecore.service.



