# Quick Start

Obtain addressAuthToken through JS-SDK, the steps are as follows：

1. Download with NPM

```shell
npm install --save @relationlabs/auth
```

2. Import Dependencies

```js
import { authByMetamask } from '@relationlabs/auth'
```

3. Obtain token

```js
const { token } = await authByMetamask()
```

> Tips: Use this token to call the [auth](../../api/auth) interface to exchange for `unifiedAuthToken`.
