Skip to main content

Generating a long-lived token

A long-lived token authenticates StackOne to your Eka workspace without needing a refresh.

1

Sign in to Eka Console

Sign in to your Eka Console account.

  • Under Quick Actions, click Manage API Credentials ( Client IDs and Secrets ).
The Eka Console dashboard with Manage API Credentials highlighted under Quick Actions
2

Open API credentials

The API Credentials page lists your existing credentials. If you don’t have an active one, click Create.

The API Credentials page with the Create button highlighted
3

Create a credential

In Create Client ID and Client Secret, enter a Name and click Create.

  • Name: StackOne Integration
  • The long-lived token does not need the Client Secret, so click Done on the next screen.
The Create Client ID and Client Secret form with the Name field and Create button highlighted
4

Create the long-lived token

In the row of your credential, open the actions menu (⋯) and click Create Long Live Token.

The credential actions menu with Create Long Live Token highlighted
5

Copy the token

In Save your Long Live Token, click Copy to Clipboard and paste the value into the Long-Lived Access Token field in StackOne Hub.

  • The token is only displayed once in this dialog. If you lose it, generate a new one from the same menu.
  • Store the token securely for use later, then 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

Open your agent

In the Eka Console sidebar, click Agents, then click your agent in the list.

The Agents page with the Agents menu item and an agent row highlighted
2

Copy the agent ID

Copy the ID shown under the agent name and paste it into the MedAssist Agent ID field in StackOne Hub.

  • Format: a Base64 string that ends in =
An agent page with the agent ID under the agent name highlighted

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Long-Lived Access Token
  • MedAssist Agent ID (Optional)
3

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

If the account linking is successful, you will see the newly linked account in your Accounts page.

Next Steps

Webhooks setup

Configure receiving Events for Eka Care into StackOne.