Add Zephyr to existing application
This detects your bundler and configures Zephyr automatically. Learn more →
For manual setup, continue below.
- We expect you to have finished our Get Started guide.
- Have our browser extension installed in your browser.
Integrating Zephyr into an Existing Application
If you already have an application and wish to enhance it with Zephyr Cloud, we have designed the integration process to be as straightforward as possible. Here's how you can seamlessly incorporate Zephyr into your existing setup:
1. Add Zephyr as a dependency
Install the package via NPM:
For Rspack:
For webpack:
2. Setting Up
Wrap your existing configuration settings with the necessary modifications.
Building the Application
Initiate the build process for your application to activate Zephyr.
The first time you initiate a build with Zephyr, it will prompt you to log in by directing you to the Zephyr website. This login is required only on your first build; subsequent builds will not require a login.
We may require you to log in again if you removed your Zephyr configuration file ~/.zephyr locally.
Once logged in, you can begin developing with Zephyr.
Read more about Vite in React + Vite and Vite + Rspack + Webpack with Module Federation.