Skip to content Nodecraft
Support / Factorio / How to use an API Key for your Factorio Server
Factorio Icon
Create a Factorio Server today!
Start Free Trial

How to use an API Key for your Factorio Server

In order for your Factorio server to show up on the browser lists for players to join, you need to provide user credentials. It can be your factorio.com Username and Password, or Authentication Token, also know as an API Key or Service Token. This article will show you where you can find your API Key so you can add it to your Factorio Dedicated Server.

Make a Factorio Account

If you haven't done so already, you'll want to make an account at https://factorio.com/ . The login credentials from the Factorio website are an option to allow your server to show on the browser listings. If you've purchased your copy from Steam, you can link your Factorio account with your Steam account. Showing the button you would use to Link your Factorio account with your Steam account

Where to Find Your API Key

You can also find your Authentication Token within your games files. It will be in a file called player-data.json. The default Steam location for this file on Windows is in: C:\Users\(your pc username)\AppData\Roaming\Factorio The location of Factorio's save files, to find the player-data.json file

Inside the player-data.json file, look for the line that says service-token. This string of numbers and letters is your API Key/Authentication Token. The contents of Factorio's player-data.json file to find your service-token

Add the Key to Your Nodecraft Server

Now let's add the API Key to your Factorio server.

On your Nodecraft Control Panel, navigate to the "Game Settings" page on the left-hand side, then to the "Auth Token" tab near the top. You can provide either your Factorio login credentials in the Username and Password text fields OR your API Token. It has to be one or the other. Don't forget to press the Save button!

You're now all set to turn your server on, and it will show up in the in-game server listings. The Nodecraft Control Panel for Factorio, showing where you add your API Key in the Game Settings - Auth Token tabs.

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.