Learn how to create a settings page for your app.
2025.2
) of the developer platform, that users who install your app can navigate to and customize for their account.
This guide walks you through how to build a settings component, using React, which replaces the previous settings experience. If you deploy your new settings component, users who install your app going forward will immediately see your new settings extension instead of any previously built settings page.
Before you begin, follow the quickstart guide to create your first app on the latest version of the developer platform.
Add an app settings component to your project
settings/
directory will be created in the project’s src/app/
directory. The settings/
directory will contain:*-hsmeta.json
).jsx
)package.json
fileUpload to HubSpot
hs project install-deps
from within your local project directory to install necessary dependencies. This will create a package-lock.json
file, which will speed up the build of the uploaded settings extension, as well as ensure that any dependencies in your local development environment and production match.hs project upload
.hs project open
. Alternatively, in HubSpot you can navigate to Development > Projects, then click the name of your project.hubspot.fetch
to leverage your backend to save and retrieve settings. Learn more about using this approach in the legacy documentation.hs project dev
command to iteratively build out your settings page and preview your changes locally.*-hsmeta.json
or package.json
files, you’ll need to stop the server, upload your changes, then start the server again.default
tab variant. The settings extension is already contained within an enclosed variant tab, and a second layer of enclosed tabs will visually clash with the design.