Skip to main content

Generating a long-lived token

Create a credential in the Eka Console, then generate a long-lived token from it.

1

Create a credential

Sign in to your Eka Console account.

  • Under Quick Actions, click Manage API Credentials ( Client IDs and Secrets ).
  • On the API Credentials page, click Create.
  • In Create Client ID and Client Secret, enter the Name: StackOne Integration
  • Click Create.
  • In Client Secret Created, click Done.
The Create Client ID and Client Secret form with the Name field and Create button highlighted
2

Create the long-lived token

In the row of your credential, open the actions menu (⋯).

  • Click Create Long Live Token.
The credential actions menu with Create Long Live Token highlighted
3

Copy the token

In Save your Long Live Token, click Copy to Clipboard.

  • Copy the Long Live Token across to Long-Lived Access Token. Eka shows it only once.
  • Click Done.
The Save your Long Live Token dialog with the token hidden and Copy to Clipboard highlighted

Find your MedAssist agent ID (optional)

The MedAssist Agent ID identifies your MedAssist agent. Only the MedAssist actions use it; leave it empty otherwise.

1

Copy the agent ID

Sign in to your Eka Console account.

  • In the sidebar, click Agents.
  • Click your agent in the list.
  • Copy the MedAssist Agent ID across. It is the ID shown under the agent name.
An agent page with the agent ID under the agent name highlighted
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Eka Care into StackOne.