# Installation

To use the SDK in an existing project you simply need to:

1. Obtain a Github access token and an `API_KEY` from the [Sodot team](mailto\:sdk@sodot.dev).

2. Set the following environment variable, e.g. in a terminal session run:

```bash
export GOPRIVATE=github.com/sodot-rs/sodot-go-sdk
```

3. Set your Github credentials for the Go SDK to use your Github access token:

```bash
git config --global url."https://none:github_pat_<YOUR_TOKEN>@github.com/sodot-rs/sodot-go-sdk".insteadOf "https://github.com/sodot-rs/sodot-go-sdk"
```

4. Add it to your project:

```bash
go get github.com/sodot-rs/sodot-go-sdk
```

You can now start generating keys and signing.
