> ## Documentation Index
> Fetch the complete documentation index at: https://ekacare-fix-ts-sdk-github-npm-links.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Started

> <font color='blue' size="3"><b>SIGN UP. BUILD. DEPLOY. 🚀 </b> </font>

import { Columns, Card } from '@mintlify/components'

<hr
  style={{
border: 'none',
borderTop: '1px solid rgba(211, 8, 8, 1)',
margin: '48px 0'
}}
/>

***

<h2 style={{ color: '#5042BD' }}>Eka Connect</h2>

<Steps>
  <Step title="ONBOARDING">
    **STEP 1: Sign Up for an API Key**

    To get started, you need to sign up for an API key. This key will authenticate your requests and give you access to our API. Ping us and we will provide you with the required API Keys.

    **Pre-requisites**

    <Columns cols={2}>
      <div className="eka-card-wrapper">
        <Card title="Client ID" href="/api-reference/authorization/client-login">
          <p style={{ fontSize: '13px', color: '#475569', lineHeight: '1.45' }}>
            A unique identifier assigned to a third-party application interacting with Eka's API.
          </p>
        </Card>
      </div>

      <div className="eka-card-wrapper">
        <Card title="Client Secret" href="/api-reference/authorization/client-login">
          <p style={{ fontSize: '13px', color: '#475569', lineHeight: '1.45' }}>
            It is a confidential key, similar to a password used alongside the Client ID.
          </p>
        </Card>
      </div>
    </Columns>

    **Obtain the Client ID and Client Secret**

    * Login to your Eka Care Control Panel at [Console](https://console.eka.care) and create client\_id and client\_secret
    * If you’re building an app for doctors or patients, you can either integrate Eka Accounts using end-to-end OIDC or request an API key from your healthcare provider’s workspace for access. [Hub](https://hub.eka.care/account/account/apitoken/)
    * For support or more details, contact us at [ekaconnect@eka.care](mailto:ekaconnect@eka.care)

    **STEP 2: Set Up Your Environment**

    Before making API calls, ensure your environment is properly set up. We recommend using the following tools and libraries:

    * <b>HTTP Client</b>: Use tools like Postman, cURL, or any HTTP client library in your preferred programming language.
    * <b>Base URL</b>: All API requests should be directed to [https://api.eka.care](https://api.eka.care)
  </Step>

  <Step title="AUTHENTICATION">
    Eka Connect’s API authentication securely verifies users and applications, ensuring only authorized access to sensitive healthcare data.

    **How to Authenticate with EKA’s API**

    1. Short Lived Token

    <Columns cols={3}>
      <div className="eka-card-wrapper">
        <Card title="1. Get Access Token" href="/api-reference/authorization/client-login">
          <p style={{ fontSize: '13px', color: '#475569', lineHeight: '1.45' }}>
            Authenticate your app using the login API with your Client ID and Client Secret to receive the required access tokens.
          </p>
        </Card>
      </div>

      <div className="eka-card-wrapper">
        <Card title="2. Use Access Token" href="/api-reference/authorization/refresh-token-v2">
          <p style={{ fontSize: '13px', color: '#475569', lineHeight: '1.45' }}>
            Pass the access token in the Authorization header with each API request to confirm your app’s access to Eka services.
          </p>
        </Card>
      </div>

      <div className="eka-card-wrapper">
        <Card title="3. Handle Token Expiration" href="/api-reference/authorization/refresh-token-v2">
          <p style={{ fontSize: '13px', color: '#475569', lineHeight: '1.45' }}>
            Access tokens expire for security reasons and return a <b>401 Unauthorized error</b>, use the Refresh Token API to generate a new access token.
          </p>
        </Card>
      </div>
    </Columns>

    * **Access Token**: A short-lived token (usually <b>30 minutes</b>) sent with each API request to authorize your app, refreshed using the Refresh Token API.([Access Token API](https://developer.eka.care/api-reference/authorization/client-login))
    * **Refresh Token**: A longer-lived token that helps you get a new Access Token when the old one expires, without having to log in again. ([Refresh Token API](/api-reference/authorization/refresh-token-v2))

    2. Long Lived Token  : ([Long Lived Token](https://developer.eka.care/api-reference/authorization/getting-started)) section.
  </Step>

  <Step title="INTEGRATION">
    We recommend reviewing our products before starting integration and selecting the one that best fits your use case.

    See you in the ([Eka Products](/user-guides/eka-products)) section.
  </Step>
</Steps>
