Acme demo. You are the lead. Made-up people, real signatures.

Viewing as Acme's lead

Set up your company

Once, by whoever runs Juicebox for the company. Everything here is set in web/.env.local; this page only checks it.

2 of 6 done. Each step below says what is missing.
  1. Your company on GitHub (done)

    Acme (demo), with 3 teams: Payments, Platform, Mobile.

  2. Sign in with GitHub, for leads (to do)

    Leads and managers sign in with GitHub to open the lists. It only reads who they are and which orgs and teams they are in.

    Create an OAuth App on GitHub (Settings, Developer settings) with the callback https://juiceboxx.vercel.app/api/auth/callback, then put GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in web/.env.local. If your org restricts OAuth apps, an owner has to approve it.

  3. A wallet that pays for the records (to do)

    Each receipt is one Arkiv record. This wallet pays the small fee, then hands the record to the person who signed it, so the company never owns or edits it.

    Not set. Put a key funded with tGLM (from the Arkiv faucet) in ARKIV_PRIVATE_KEY.

  4. The company key, which opens the lists (done)

    Employees encrypt their list to the company's public key on their laptop. Only the private key opens it, so only this copy (and members signed in to it) can read the lists.

    Public key: 03e49c396dc743f5d6eb97ce8e7840c4aa4424e9a546cdc7968143309aacad40ec

  5. Storage for the lists (Swarm) (to do)

    The encrypted lists are stored on Swarm. Without it, a list would be public on Arkiv.

    Not set. Add the SWARM_* lines from web/.env.example.

  6. Invite your people (to do)

    Each person runs Juicebox on their own laptop: clone the repo, then npm install and npm run dev in web, and open http://localhost:3000. In My week, Setup they connect GitHub, join your company, and sign in with 0G. They pay for the private AI themselves, from their own 0G credits; the company hands out no AI key.

    Their web/.env.local needs only:

    ARKIV_PRIVATE_KEY=<a wallet with a little tGLM, it only pays the fees>
    COMPANY_PUBLIC_KEY=03e49c396dc743f5d6eb97ce8e7840c4aa4424e9a546cdc7968143309aacad40ec
    SWARM_API_URL=https://api.gateway.testnet.ethswarm.org
    SWARM_GATEWAY_URL=https://api.gateway.testnet.ethswarm.org
    SWARM_POSTAGE_BATCH_ID=<your batch id>

    Never give anyone the company's private key: it opens everyone's lists.