Skip to content
Merged
7 changes: 2 additions & 5 deletions certified-connectors/intelliHR/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ You will need the following to proceed:
## Setting up the connector
There is two crucial steps to enabling the connector:

### 1. Adding the tenant header as a custom policy to your version of the connector.
To identify the data associated with your requests, you must include the tenant ID on each request the connector makes. This is done by defining a custom policy in the connector settings. Official documentation for this can be found at (https://docs.microsoft.com/en-us/connectors/custom-connectors/policy-templates)[https://docs.microsoft.com/en-us/connectors/custom-connectors/policy-templates].

During that process, you should select the "Set HTTP Header" template, supply your tenant ID and apply the policy to all requests.
(/tenant_header_custom_policy.png "Custom tenant header policy")
### 1. Adding the tenant header.
To identify the data associated with your requests, you must include the tenant ID on each request the connector makes. During configuration, you will be prompted to add your Tenant name to the connector. You can find your tenant name as part of your intelliHR domain address, eg https://[tenant-name].intellihr.net.

### 2. Configuring your API key
When you first use the connector, you will be prompted to supply an API key. These can be produced inside your intelliHR account with appopriate levels of access. It's important to be aware that during the API key input, you are expected to prepend 'Bearer ' (including the space) before your key.
Expand Down
13 changes: 12 additions & 1 deletion certified-connectors/intelliHR/apiProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
"required": "true"
}
}
},
"tenant": {
"type": "string",
"uiDefinition": {
"displayName": "Tenant",
"description": "Your intelliHR tenant name",
"tooltip": "Tenant name can be found in your intelliHR domain address eg. tenant-name.intellihr.net",
"constraints": {
"required": "true"
}
}
}
},
"iconBrandColor": "#432df3",
Expand All @@ -23,7 +34,7 @@
"title": "Tenant header",
"parameters": {
"x-ms-apimTemplateParameter.name": "Tenant",
"x-ms-apimTemplateParameter.value": "",
"x-ms-apimTemplateParameter.value": "@connectionParameters('tenant','')",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
Expand Down
Binary file not shown.