WHAT YOU'LL LEARN
  • What extension components are available in webiny/extensions?
  • What parameters does each extension accept?
  • How to use each extension in your webiny.config.tsx?

Overview
anchor

The webiny/extensions package exports React components used inside webiny.config.tsx to wire extensions into your Webiny project. Each component corresponds to a defineExtension() call in the Webiny source and accepts typed props defined by its Zod schema.

Api

Admin

Cli

Infra

Project

Api
anchor

Extension
anchor

Add any API extension.

Can be used multiple times.

webiny.config.tsx

BuildParam
anchor

Add build-time parameter to API app.

Can be used multiple times.

webiny.config.tsx

Admin
anchor

Extension
anchor

Extend the Admin application with custom functionality.

Can be used multiple times.

webiny.config.tsx

BuildParam
anchor

Add build-time parameter to Admin app.

Can be used multiple times.

webiny.config.tsx

Cli
anchor

Command
anchor

An extension for defining CLI commands.

Can be used multiple times.

webiny.config.tsx

Infra
anchor

Vpc
anchor

Apply VPC settings to AWS resources during deployment.

Can only be used once.

webiny.config.tsx

BlueGreenDeployments
anchor

Enable blue/green deployments for your Webiny project.

Can only be used once.

webiny.config.tsx

OpenSearch
anchor

Enable and configure Opensearch integration with project-level setup.

Can only be used once.

webiny.config.tsx

PulumiResourceNamePrefix
anchor

Adjust the prefix for Pulumi resource names (default: “wby-”).

Can only be used once.

webiny.config.tsx

ProductionEnvironments
anchor

Provide names for environments that are considered production environments.

Can be used multiple times.

webiny.config.tsx

EnvVar
anchor

Set an environment variable in the project context.

Can be used multiple times.

webiny.config.tsx

Aws.DefaultRegion
anchor

Set the default AWS region for the project.

Can only be used once.

webiny.config.tsx

Aws.Tags
anchor

Apply tags to AWS resources during deployment.

Can be used multiple times.

webiny.config.tsx

Admin.BeforeBuild
anchor

Add custom logic to be executed before the ADMIN build process.

Can be used multiple times.

webiny.config.tsx

Admin.BeforeDeploy
anchor

Add custom logic to be executed before the ADMIN deployment process.

Can be used multiple times.

webiny.config.tsx

Admin.BeforeWatch
anchor

Add custom logic to be executed before the Admin watch process.

Can be used multiple times.

webiny.config.tsx

Admin.AfterBuild
anchor

Add custom logic to be executed after the ADMIN build process.

Can be used multiple times.

webiny.config.tsx

Admin.AfterDeploy
anchor

Add custom logic to be executed after the ADMIN deployment process.

Can be used multiple times.

webiny.config.tsx

Admin.Pulumi
anchor

Modify Admin app’s cloud infrastructure using Pulumi.

Can be used multiple times.

webiny.config.tsx

Admin.CustomDomains
anchor

Configure custom domains for the Admin app.

Can only be used once.

webiny.config.tsx

Admin.StackOutputValue
anchor

Add custom output values to the Admin stack.

Can be used multiple times.

webiny.config.tsx

Api.BeforeBuild
anchor

Add custom logic to be executed before the API build process.

Can be used multiple times.

webiny.config.tsx

Api.BeforeDeploy
anchor

Add custom logic to be executed before the API deployment process.

Can be used multiple times.

webiny.config.tsx

Api.BeforeWatch
anchor

Add custom logic to be executed before the API watch process.

Can be used multiple times.

webiny.config.tsx

Api.AfterBuild
anchor

Add custom logic to be executed after the API build process.

Can be used multiple times.

webiny.config.tsx

Api.AfterDeploy
anchor

Add custom logic to be executed after the API deployment process.

Can be used multiple times.

webiny.config.tsx

Api.Pulumi
anchor

Modify Api app’s cloud infrastructure using Pulumi.

Can be used multiple times.

webiny.config.tsx

Api.StackOutputValue
anchor

Add custom output values to the Api stack.

Can be used multiple times.

webiny.config.tsx

Api.LambdaFunction
anchor

Add a custom Lambda function to the API app.

Can be used multiple times.

webiny.config.tsx

Core.BeforeBuild
anchor

Add custom logic to be executed before the CORE build process.

Can be used multiple times.

webiny.config.tsx

Core.BeforeDeploy
anchor

Add custom logic to be executed before the CORE deployment process.

Can be used multiple times.

webiny.config.tsx

Core.BeforeWatch
anchor

Add custom logic to be executed before the CORE watch process.

Can be used multiple times.

webiny.config.tsx

Core.AfterBuild
anchor

Add custom logic to be executed after the CORE build process.

Can be used multiple times.

webiny.config.tsx

Core.AfterDeploy
anchor

Add custom logic to be executed after the CORE deployment process.

Can be used multiple times.

webiny.config.tsx

Core.Pulumi
anchor

Modify Core app’s cloud infrastructure using Pulumi.

Can be used multiple times.

webiny.config.tsx

Core.StackOutputValue
anchor

Add custom output values to the Core stack.

Can be used multiple times.

webiny.config.tsx

Project
anchor

Id
anchor

An extension for defining the project ID.

Can only be used once.

webiny.config.tsx

Telemetry
anchor

This extension allows you to enable or disable telemetry for the project.

Can only be used once.

webiny.config.tsx

AutoInstall
anchor

Auto-install Webiny with admin user credentials on first deploy.

Can only be used once.

webiny.config.tsx

FeatureFlags
anchor

Enable or disable WCP features.

Can only be used once.

webiny.config.tsx