How to get your API key and Org ID in MedChat

Get the access token and Org ID that the MedChat connector uses to connect to your MedChat organization.

You need the Developer role in MedChat.

1. Copy your Org ID

  1. In MedChat, go to Admin > Developer and click MedChat Auth in the left sidebar.
  2. Under Your org ID, click Copy.
    MedChat Auth page with Your org ID and Scoped Access Tokens

2. Generate an access token

  1. Under Scoped Access Tokens, click Generate new token.
  2. Enter a Token name, for example Keragon.
  3. Optional: pick an Expiration date. You can't change it later, so when the token expires, generate a new one and update it in Keragon.
  4. Under Select scopes, select read.my_orgs.chats. To use the Send message action, also select impersonate.bot under Chat Bots.
    New access token panel with Token name, Expiration date and Select scopes
  5. Click Create token, then click Copy. MedChat shows the token only once.
    Access token dialog with the Copy button

3. Add the credentials in Keragon

  1. When you connect MedChat in Keragon, paste the access token into API key and the org ID into Org ID.
  2. Save. Keragon checks the token and Org ID when you save.
Was this article helpful?
0 out of 0 found this helpful

Articles in this section