> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/legacy-documentation/artifact-server/configuring-the-package-manager/configuring-gem.md).

# Configuring Gem

This page explains how to configure the Gem package manager to pull packages from the Seal artifact server based on your existing setup.

Make sure you have the access token for the server ready.

### Pull directly from the artifact server

{% hint style="warning" %}
Note that this setup is only supported for Ruby ≥ 3.0.
{% endhint %}

1. Open the project's root directory.
2. Set your token to the artifact server in the `SEAL_TOKEN` environment variable, and put the project's ID in the `SEAL_PROJECT` environment variable.
3. To add the Seal artifact server run the following command:

```ruby
gem sources -a https://$SEAL_PROJECT:$SEAL_TOKEN@ruby.sealsecurity.io
```
