Prerequisites:

1

Authorize Infisical for Laravel Forge

Obtain a Laravel Forge access token in API Tokens

Obtain your Laravel Forge Server ID in Servers > Server ID

Navigate to your project’s integrations tab in Infisical.

Press on the Laravel Forge tile and input your Laravel Forge access token and server ID to grant Infisical access to your Laravel Forge account.

If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.

2

Start integration

Select which Infisical environment secrets you want to sync to which Laravel Forge site and press create integration to start syncing secrets to Laravel Forge.

Was this page helpful?