# Installing the NPM package

## Requirements <a href="#requirements" id="requirements"></a>

To use our Celebrity SDK npm package, an Access Token will be needed. Access Token is available in [Private area](https://media.sceenic.co/). If you don't have access to the private area, please contact us at <Support@sceenic.co>.

## What is the Access Token? Why do you need it? <a href="#what-is-the-access-token-why-do-you-need-it" id="what-is-the-access-token-why-do-you-need-it"></a>

Celebrity SDK is a private package that is hosted on the npm registry. Only authorized users can access it. When you receive access to the SDK we will generate an authentication token for you. An authentication token is a hexadecimal string that gives you access to SDK.

## Before installation <a href="#before-installation" id="before-installation"></a>

In your project root folder create a *.npmrc* file. This file will set the specific npm config values for this project. Insert the code snippet below to the .npmrc file. Replace `YOUR_ACCESS_TOKEN` with the token that was provided.

```typescript
//registry.npmjs.org/:_authToken=YOUR_ACCESS_TOKEN
```

## Installation <a href="#installation" id="installation"></a>

```typescript
npm i @sscale/celebritysdk
```

## Documentation <a href="#documentation" id="documentation"></a>

* [API References](https://celebrity-api-doc.web.app/)

## Usage <a href="#usage" id="usage"></a>

```typescript
import { ParticipantAPI, CelebrityAPI } from '@sscale/celebritysdk';
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.sceenic.co/celebrity-sdk/tutorials/web/installing-the-npm-package.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
