> For the complete documentation index, see [llms.txt](https://docs.lab.sense.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lab.sense.im/javascript-sdk-guide/getting-started.md).

# Getting started (시작하기)

### Installation (설치)

Sense LAB SDK를 설치하려면 아래 명령어를 실행하세요.

**npm을 사용하는 경우**

```
npm install @sense-lab/sdk
```

**yarn을 사용하는 경우**

```
yarn add @sense-lab/sdk
```

### Setup (설정)

SDK를 초기화하려면 아래 설정을 사용하세요.

**Initialization (초기화)**

```
import { SenseLab } from '@sense-lab/sdk';

SenseLab.init({
  clientKey: 'your-client-key', // 필수: 발급받은 API 키
  debug: true,                 // 선택: 디버그 모드 활성화 (기본값: false)
});
```

| 설정 키      | 타입      | 필수 여부 | 설명                         |
| --------- | ------- | ----- | -------------------------- |
| clientKey | string  | ✔     | API 클라이언트 키                |
| debug     | boolean | ✖     | 디버그 모드 활성화 여부 (기본값: false) |

**Environment Variables (환경 변수 설정)**

환경 변수를 사용하여 보안 설정을 강화할 수 있습니다.\
.env 파일에 아래 값을 추가하세요:

```
SENSE_LAB_CLIENT_KEY=your-client-key
```

**설정 적용 확인**

초기화가 완료되면 SDK가 성공적으로 작동하는지 확인하세요:

```
console.log(SenseLab.isInitialized()); // true
```

##


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.lab.sense.im/javascript-sdk-guide/getting-started.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.
