First, you will need to get a token. This is done on the factorio website:
- Create an account on - factorio.com
- Connect your Factorio account to Steam.
- From your factorio profile, copy the profile name and token
Next, you have to edit the servers settings to add your token:
- On your control panel, enter your configuration files
- Edit server-settings.json with Easy Editor option
- Enter your factorio username and the token under Credentials settings
- Save your changes and restart your server.