Infisical supports the use of API Tokens to connect with Railway.

Create a Railway API Token

A team token provides access to all resources within a team. It cannot be used to access personal resources in Railway.
1

Click the profile image in the top-right corner and select 'Account Settings'

Dashboard Page
2

In the personal settings sidebar, click on 'Tokens'

Account Settings Page
3

Enter a token name and select a team

Make sure to provide a descriptive name and select the correct team.Enter Name and Select Team
4

Click on 'Create'

Create Token
5

Save the token

After clicking ‘Create’, your access token will be displayed. Save it securely for later use.Copy Token Modal

Create a Railway Connection in Infisical

1

Navigate to App Connections

In your Infisical dashboard, go to Organization Settings and open the App Connections tab.App Connections Tab
2

Select Railway Connection

Click + Add Connection and choose Railway Connection from the list of integrations.Select Railway Connection
3

Fill out the Railway Connection form

Complete the form by providing:
  • A descriptive name for the connection
  • An optional description
  • The type of token you created earlier
  • The token value from the previous step
Railway Connection Modal
4

Connection created

After submitting the form, your Railway Connection will be successfully created and ready to use with your Infisical projects.Railway Connection Created