Administrator guide
Deploy a private ArtifactPass on Cloudflare
Create artifacts.example.com in your Cloudflare account, choose who may publish, and keep control of every resource.
Start a new private deployment
Run the wizard from any folder. It saves a local deployment receipt for your operating-system user, so you can safely save and resume later.
pnpm dlx artifactpass deploy --newThe wizard plans a Worker, D1 database, R2 bucket, and Cloudflare Access application in your account. Enter the root domain as example.com, not https://example.com, www.example.com, or a path.
Authorize the correct Cloudflare account
ArtifactPass prints the full authorization URL before trying to open a browser. Use that URL in the browser profile signed into the account that should own the deployment.
Review the requested permissions, choose the intended account, and authorize. If several Cloudflare accounts are available, the terminal asks which one to use.
Connect example.com to Cloudflare DNS
If example.com is already Active in this account, select it. Otherwise open the Cloudflare link printed by the CLI and choose Connect a domain. Do not choose Transfer a domain.


Let Cloudflare scan the existing DNS records. Before changing nameservers, compare the imported records with your current DNS provider. Check the apex website record, www, email MX records, and verification or mail TXT records.

Cloudflare assigns two nameservers. At the current registrar, replace the old authoritative nameservers with those exact two values. Do not unlock the domain and do not request a transfer authorization code.
Wait until Cloudflare shows example.com as Active. Return to the terminal and choose Check again. Activation can take time because nameserver changes must propagate.
Choose sign-in and publisher access
Email verification code is the simplest option. Then choose how the allow list works:
- Approved company email domains: enter a domain such as
example.com. Everyone with an address on that domain may publish. If your administrator email uses that domain, it is already included. If the administrator uses an address outside that domain and also needs to publish, use the specific-address model instead and include the administrator’s address. Do not approve a shared consumer email domain. - Specific email addresses: enter each publisher, such as
admin@example.comandteammate@example.net. Include your own administrator email. Setup does not add it automatically.
Existing company login uses an identity provider already configured in Cloudflare Zero Trust. Select only providers your teammates can actually use. This branch does not create a separate ArtifactPass email-address allow list.
After deployment, open Cloudflare Zero Trust → Access controls → Applications to view the protected ArtifactPass destination and the policy that controls who may publish.

Choose the link lifetimes this deployment offers
Select one or more lifetimes. They become the choices people and agents see when publishing:
- 15 minutes for very short handoffs.
- 30 minutes for quick reviews.
- 1 hour for normal same-session work.
- 1 day for asynchronous review.
- 7 days for a week-long review window.
The maximum supported lifetime is 7 days. ArtifactPass does not offer permanent links. You can change the available choices later by resuming the deployment.
Review, deploy, and manage artifacts.example.com
The final review shows the hostname, Cloudflare account, domain, sign-in method, allowed people, and link lifetimes. Use the numbered actions instead of restarting the wizard:
- Approve and deploy when every value is correct.
- Edit hostname to change the private subdomain.
- Edit sign-in to change the login method.
- Edit allowed people to change domains or email addresses when that access model is in use.
- Edit link lifetimes to change the publishing choices.
- Save and exit to stop safely and resume later.
After approval, the terminal shows live progress while ArtifactPass creates and verifies the Worker, D1 database, R2 bucket, Access application, and custom hostname. Keep it open until the success summary appears.
Success prints the private URL, teammate command, update command, and local deployment receipt. A private deployment stays on its deployed ArtifactPass version until an administrator approves an update.
pnpm dlx artifactpass deploy --resume artifacts.example.comRun the resume command later to update the software or edit the hostname, sign-in method, allowed publishers, or link lifetimes. The wizard reloads the saved state and returns to a review before applying changes.
Deployment complete
Now give publishers the teammate guide.
Share the deployment URL and private teammate setup guide. People who only receive live artifact links do not need publisher access.