# Deployer overview

Source: https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview.html

Deployer is a PageBuilder Editor Developer tool that lets you manage custom code deployments across different environments.

Use Deployer to manage bundle deployments and test changes before they go live, and securely handle sensitive information. The service enables you to:

- Perform _hot swaps_ by switching between bundles without disrupting your site’s audience.
- Preview how bundles perform before running them live. This process allows you to test code on an active server before publishing it to your audience.
- Encrypt and decrypt secrets using environment-specific keys, keeping sensitive information secure in your code repository.

## Prerequisites

To access Deployer, you must have access to PageBuilder Editor’s Developer Tools.

To access the Developer Tools page, you must have the Access Developer Tools permission assigned to you. See [Permissions](https://docs.arcxp.com/en/products/arc-xp-administration/permissions.html) for more details.

Additionally, you need a `.zip` file containing all the code needed to run your website, also known as bundles.

## Getting started

To prepare your bundle for deployment, follow these steps:

1. In your code editor, navigate to your bundle’s root directory.
2. Run this command when your code is ready: `npx fusion zip`.
3. Locate the timestamped `.zip` file created in your `/dist/` directory.

> **Caution:**
> 
> Deployer’s maximum size limit for unzipped bundles is 250MB (262,144,000 bytes). This limit includes your application bundle and the PageBuilder Engine components.
> 
> PageBuilder Engine requires approximately 90MB of the total allocation, and your application bundle must _not exceed 160MB unzipped_ to ensure successful deployment.

Use this `.zip` file to deploy, manage, and maintain your bundles using the following procedures:

- [Managing your bundles](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/managing-your-bundles.html)
- [Viewing deployer history](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/viewing-deployer-history.html)
- [Managing secrets](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/managing-secrets.html)
- [Troubleshooting deployment issues](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/troubleshooting-deployment-issues.html)

## In this section

- [Managing your bundles](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/managing-your-bundles.html)
- [Viewing deployer history](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/viewing-deployer-history.html)
- [Managing secrets](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/managing-secrets.html)
- [Troubleshooting deployment issues](https://docs.arcxp.com/en/products/pagebuilder/pagebuilder-editor/developer-tools-overview/deployer-overview/troubleshooting-deployment-issues.html)
