# generate a private key
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
# generate a public key
openssl rsa -pubout -in private_key.pem -out public_key.pem
Configure the integration
```shell
# create a new integration in the samarbeidsportalen, follow documentation like in https://autosys-kjoretoy-api.atlas.vegvesen.no/api-ui/index-maskinporten-konsument.html
# copy the client_id and the client_secret to the .env file
# copy the public key to the integration in the samarbeidsportalen
# update the .env file with the correct values
cp example.env .env
```
Run the application
```shell
# install dependencies
go mod download
# run for get token information
go run main.go
# run for get token information and vechicle information from the svv api
go run main.go -svv
```