Quick Start (빠른 시작)

1. 설치

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

NPM

npm install @sense-lab

Yarn

yarn add @sense-lab

2. 초기화

설치 후, Sense LAB을 애플리케이션에 초기화하세요.

코드 예제

import { SenseLab } from '@sense-lab';

SenseLab.init({
  clientKey: 'your-client-key', // API 키를 입력하세요
  debug: true, // 디버그 환경에서는 true 설정을 권장합니다
});

매개변수

타입

필수 여부

설명

clientKey

string

Sense LAB API 키 (관리자 페이지에서 발급)

debug

boolean

디버그 설정 (기본값: false)

Last updated