# Configuring yum

This page explains how to configure yum 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

Yum's configuration is saved in the `yum.repos.d` directory.

Our goal is to add [https://rpm.sealsecurity.io/](https://seal.security/) as a remote repository.

1. Run:

```bash
vim /etc/yum.repos.d/.repo
```

2. We want the `.repo`file to look like this:

```bash
[seal]
name=seal
baseurl=https://rpm.sealsecurity.io/centos/$releasever/updates/$basearch/
username=$PROJECT_ID
password=$TOKEN
enabled=1
gpgcheck=0
```

3. In the `$PROJECT_ID` put the name of your project. This value will later be used in the reporting to indicate which project pulled which vulnerable package.
4. In the `$TOKEN` put the access token to the Seal artifact server.
