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.

AdministratorCloudflare accountDomain access
01

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 --new

The 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.

ArtifactPass private deployment wizard introducing the Cloudflare resources it will create
The wizard explains every Cloudflare resource before it requests authorization.
02

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.

03

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.

Cloudflare Add a site screen with Connect a domain, Transfer a domain, and Buy a domain choices
Choose Connect a domain. Domain registration does not need to move to Cloudflare.
Cloudflare Connect your domain form with example.com entered as the domain name
Enter only the root domain, such as example.com. Do not include https, www, or a path.

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 DNS records table showing website, www, email, and TXT records for example.com
Add any missing website or email records before the nameserver change.

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.

Two Cloudflare nameservers being copied to the current registrar for example.com
Only the nameservers change. Registration and renewal stay at the existing registrar.

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.

04

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.com and teammate@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.

ArtifactPass questions for publisher access, example email addresses, link lifetimes, and the artifacts.example.com hostname
For an address allow list, include the administrator and every teammate who needs to publish.

After deployment, open Cloudflare Zero Trust → Access controls → Applications to view the protected ArtifactPass destination and the policy that controls who may publish.

Cloudflare Zero Trust Applications table showing an ArtifactPass application, protected destination, and publisher policy
The Access application connects the private ArtifactPass URL to its publisher policy.
05

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.

06

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.
ArtifactPass deployment review for artifacts.example.com with edit choices and Approve and deploy
Nothing deploys until the administrator approves this final summary.

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.com

Run 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.