Deploy a Chrome Extension to production
Create a production instance
For Clerk production instances, there must be a domain associated with the instance. Even though there may not be a web application associated with your Chrome Extension, a domain is still required. Follow the guide on deploying your Clerk app to production.
Update your .env.production
file
Add production domain to host_permissions
host_permissions
specifies which hosts, or websites, will have permission to sync auth state with your app. It accepts an array, allowing you to add more than one host. You must add your production domain to the host_permissions
array.
In the package.json
file, in the manifest
object, update the host_permissions
array. Add your domain and ensure it is preceded with https://
. For example, https://clerk.com
. Only add the root domain and not any subdomains. Then, add /*
to the end of the domain.
The following example shows how to configure host_permissions
for production:
Submit your extension for review
- In your app, create a new zip of the
build/chrome-mv3-dev
folder. - In the top-right of the Chrome Web Store Developer Dashboard, select Upload new package and upload the zip file.
- Complete the required information to submit your extension for review. To check the requirements that must be met before submitting, select Why can't I submit?.
Feedback
Last updated on