> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Eka Care with Long-Lived Access Token – StackOne Hub

> Link a Eka Care account in the StackOne Hub using Long-Lived Access Token. End-user guide to authorize the integration and start using Eka Care actions.

## 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](https://console.eka.care/).

<ul>
  <li>Under **Quick Actions**, click **Manage API Credentials ( Client IDs and Secrets )**.</li>
</ul>

![The Eka Console dashboard with Manage API Credentials highlighted under Quick Actions](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-quick-actions.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=c7ed0e8419de9c0f5b8677ddbc493a7e)

**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](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-api-credentials.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=340d928d0028b5e292521ca213253ddf)

**3. Create a credential**

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

<ul>
  <li>Name: any name you prefer, for example `StackOne Integration`</li>
  <li>The long-lived token does not need the Client Secret, so click **Done** on the next screen.</li>
</ul>

![The Create Client ID and Client Secret form with the Name field and Create button highlighted](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-create-credential.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=b1c36fc55687fef5767baaf6b214061b)

**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](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-create-long-live-token.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=1361ff98ab1e9dbbbf4a39d5eeeb42c5)

**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.

<ul>
  <li>The token is only displayed once in this dialog. If you lose it, generate a new one from the same menu.</li>
  <li>Store the token securely for use later, then click **Done**.</li>
</ul>

![The Save your Long Live Token dialog with the token hidden and Copy to Clipboard highlighted](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-copy-token.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=add276e3a4c38f54c70b80dda663df90)

## 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](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-agents.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=c40a95f295a4a148f11c532da5ff4fd7)

**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.

<ul>
  <li>Format: a Base64 string that ends in `=`</li>
</ul>

![An agent page with the agent ID under the agent name highlighted](https://mintcdn.com/stackone-60/2aitSsNAQhtZqow7/connectors/ekacare/images/custom-config-agent-id.png?fit=max\&auto=format\&n=2aitSsNAQhtZqow7\&q=85\&s=3675cc29014ebc1f6eeb624d96c2e52b)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/connect/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/ekacare/guides/webhook-setup.md)
>
> Configure receiving Events for Eka Care into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.