Connect Claude
Connect Claude to QHR and you can simply ask, in Arabic or English, things like "Who is on leave today?" or "Request three days of annual leave from 14 December". Claude finds the right information in QHR and answers you. No code, no technical setup.
This takes about five minutes. You need:
- a QHR account,
- a Claude account at claude.ai (custom connectors are available on Claude's paid plans).
Step 1: Get the QHR connector address
- Sign in to QHR.
- Open Settings › API & Integrations and select the Connect Claude tab.
- Select Copy next to the connector address. Keep this tab open; you will come back to it.
Step 2: Create a token for Claude
A token is a private key that lets Claude use QHR as you. Claude can only see and do what you can see and do in QHR.
- Still in Settings › API & Integrations, open My tokens and select Create token.
- For Name, type
Claude. - Decide whether Claude may make changes for you:
- Leave "Allow changes" unticked if you only want to ask questions (who is on leave, your balance, your attendance). Claude will not be able to change anything. This is the safest choice.
- Tick "Allow changes" if you also want Claude to do things for you, such as submit a leave request or approve one.
- Choose how long it should work. 90 days is a good start. QHR emails you a week before it expires.
- Select Create, then Copy the token. It starts with
qhr_.
Warning: The token is shown only once. Don't send it to anyone or paste it anywhere except the QHR connection page in step 4.
Step 3: Add QHR to Claude
- Go to claude.ai and open Settings › Connectors.
- Select Add custom connector.
- For Name, type
QHR. - For the URL, paste the connector address you copied in step 1.
- Select Add.
Note: On a Claude Team or Enterprise plan, an organisation owner may need to add the QHR connector first, in the organisation's connector settings. After that, each person connects with their own token as in step 4.
Step 4: Connect with your token
- In the connector list, find QHR and select Connect.
- A QHR page opens. It names the app that is asking to connect, for example Claude (claude.ai). Check that it is Claude.
- Paste your token into the box and select Connect.
- The page closes and QHR shows as connected in Claude.
Step 5: Ask your first question
Start a new chat. If QHR isn't already switched on for the chat, turn it on from the tools menu under the message box. Then try:
- "Who is on leave this week?"
- "How many days of annual leave do I have left?"
- "Show my attendance for last month."
- "مين في إجازة النهارده؟"
- "اطلب لي إجازة سنوية من ١٤ إلى ١٦ ديسمبر"
Claude may ask for your permission the first time it uses QHR in a chat. Select Allow to let it look things up.
How Claude keeps your data safe
- Claude sees only what you can see. It uses your QHR role and permissions, nothing more.
- Claude asks before it changes anything. Before submitting, approving or updating something, Claude shows you exactly what it is about to do and waits for your "yes".
- Some actions are never available to Claude, such as deleting records or changing roles and permissions. Those can only be done in QHR itself.
- Your token never leaves QHR's connector. Claude receives a short-lived key that only works through the connector.
- Everything is recorded. Changes made through Claude appear in QHR's audit log under your name, marked as made through the API.
Disconnect Claude
You can stop Claude's access at any time, from either side:
- In QHR (recommended): open Settings › API & Integrations › My tokens and select Revoke next to the
Claudetoken. Access stops immediately. - In Claude: open Settings › Connectors, find QHR and select Disconnect.
Troubleshooting
| What you see | What to do |
|---|---|
| The QHR page says the token is not valid | Copy the token again, making sure you copied all of it. If you no longer have it, create a new one. |
| Claude says the token has expired or been revoked | Create a new token in QHR, then in Claude disconnect and connect QHR again with the new token. |
| Claude says it isn't allowed to do something | Your QHR role doesn't include that permission. Ask your HR administrator. |
| Claude says it can't make changes | Your token is read-only. Create a token with Allow changes ticked and reconnect. |
| Claude doesn't use QHR at all | Check that QHR is switched on for this chat in the tools menu, and mention QHR in your question. |
| You don't see Connect Claude in QHR settings | The API & Integrations feature may be off for your company. Ask your QHR administrator. |