Prerequisites:
1

Authorize Infisical for Laravel Forge

Obtain a Laravel Forge access token in API Tokensintegrations laravel forge dashboard integrations laravel forge api tokensObtain your Laravel Forge Server ID in Servers > Server IDintegrations laravel forge server integrations laravel forge server idNavigate to your project’s integrations tab in Infisical.integrationsPress on the Laravel Forge tile and input your Laravel Forge access token and server ID to grant Infisical access to your Laravel Forge account.integrations laravel forge authorization
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.integrations laravel forge integrations laravel forge