Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Added docs for Laravel Forge Integration

Andrew Atimapre732d0dfdca9a
diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts
index 0f626b8042..e023a12c88 100644
--- a/backend/src/config/index.ts
+++ b/backend/src/config/index.ts
@@ -82,4 +82,4 @@ export const getHttpsEnabled = async () => {
}
return (await client.getSecret("HTTPS_ENABLED")).secretValue === "true" && true
-}
\ No newline at end of file
+}
diff --git a/docs/integrations/cloud/laravel-forge.mdx b/docs/integrations/cloud/laravel-forge.mdx
index e69de29bb2..84a4e2a22d 100644
--- a/docs/integrations/cloud/laravel-forge.mdx
+++ b/docs/integrations/cloud/laravel-forge.mdx
@@ -0,0 +1,42 @@
+---
+title: "Laravel Forge"
+description: "How to sync secrets from Infisical to Laravel Forge"
+---
+
+Prerequisites:
+
+- Set up and add envars to [Infisical Cloud](https://app.infisical.com)
+
+## Navigate to your project's integrations tab
+
+![integrations](../../images/null)
+
+## Enter your Laravel Forge Access Token and Server Id
+
+Obtain a Laravel Forge access token in API Tokens
+
+![integrations laravel forge dashboard](../../images/null)
+![integrations laravel forge api tokens](../../images/null)
+
+Obtain a Laravel Forge server id in Servers
+
+![integrations laravel forge server](../../images/null)
+![integrations laravel forge server id](../../images/null)
+
+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.
+
+![integrations laravel forge authorization](../../images/null)
+
+<Info>
+ 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.
+</Info>
+
+## 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](../../images/null)
+![integrations laravel forge](../../images/null)