# Method

### authByMetamask

```js
import { authByMetamask } from '@relationlabs/auth'
const { token } = await authByMetamask()
```

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