> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anchorage.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding users

> Invite and onboard new users to Porto.

export const ImageCarousel = ({images, perView = 3, thumbMaxWidth = 220, children}) => {
  const [page, setPage] = useState(0);
  const [imgH, setImgH] = useState(0);
  const [zoomIdx, setZoomIdx] = useState(null);
  const stripRef = useRef(null);
  const THUMB_MAX_WIDTH = thumbMaxWidth;
  const PEEK_WIDTH = 34;
  const STAGE_HEIGHT = 460;
  const fromChildren = React.Children.toArray(children).map(c => c && c.props && c.props.src ? {
    src: c.props.src,
    alt: c.props.alt
  } : null).filter(Boolean);
  const items = fromChildren.length ? fromChildren : images || [];
  const count = items.length;
  const columns = Math.min(perView, count) || 1;
  const totalPages = Math.ceil(count / columns);
  const showControls = totalPages > 1;
  const goTo = p => setPage((p % totalPages + totalPages) % totalPages);
  const prev = () => goTo(page - 1);
  const next = () => goTo(page + 1);
  const zoomTo = i => {
    const idx = (i % count + count) % count;
    setZoomIdx(idx);
    setPage(Math.floor(idx / columns));
  };
  useEffect(() => {
    if (zoomIdx === null) return;
    const item = items[zoomIdx];
    const overlay = document.createElement("div");
    overlay.setAttribute("role", "dialog");
    overlay.setAttribute("aria-modal", "true");
    overlay.setAttribute("aria-label", item.alt || "Screenshot");
    Object.assign(overlay.style, {
      position: "fixed",
      top: "0",
      left: "0",
      right: "0",
      bottom: "0",
      zIndex: "2147483000",
      background: "rgba(5, 5, 5, 0.98)",
      display: "flex",
      alignItems: "center",
      justifyContent: "center",
      padding: "24px 72px",
      cursor: "zoom-out"
    });
    const img = document.createElement("img");
    img.src = item.src;
    img.alt = item.alt || "";
    Object.assign(img.style, {
      maxWidth: "94vw",
      maxHeight: "88vh",
      width: "auto",
      height: "auto",
      borderRadius: "10px",
      boxShadow: "0 8px 40px rgba(0, 0, 0, 0.5)",
      cursor: "zoom-out"
    });
    overlay.appendChild(img);
    const makeButton = (label, text, position) => {
      const b = document.createElement("button");
      b.type = "button";
      b.setAttribute("aria-label", label);
      b.textContent = text;
      Object.assign(b.style, {
        position: "absolute",
        width: "40px",
        height: "40px",
        borderRadius: "50%",
        border: "1px solid rgba(255, 255, 255, 0.35)",
        background: "rgba(255, 255, 255, 0.16)",
        color: "#fff",
        fontSize: "20px",
        lineHeight: "38px",
        textAlign: "center",
        cursor: "pointer",
        padding: "0"
      }, position);
      overlay.appendChild(b);
      return b;
    };
    const closeButton = makeButton("Close", "×", {
      top: "18px",
      right: "18px"
    });
    let prevButton = null;
    let nextButton = null;
    if (count > 1) {
      prevButton = makeButton("Previous screenshot", "‹", {
        left: "18px",
        top: "calc(50% - 20px)"
      });
      nextButton = makeButton("Next screenshot", "›", {
        right: "18px",
        top: "calc(50% - 20px)"
      });
      const counter = document.createElement("div");
      counter.textContent = `${zoomIdx + 1} of ${count}`;
      Object.assign(counter.style, {
        position: "absolute",
        bottom: "16px",
        left: "0",
        right: "0",
        textAlign: "center",
        fontSize: "13px",
        color: "rgba(255, 255, 255, 0.85)"
      });
      overlay.appendChild(counter);
    }
    const close = () => setZoomIdx(null);
    overlay.addEventListener("click", e => {
      if (e.target === prevButton || e.target === nextButton) return;
      close();
    });
    if (prevButton) prevButton.addEventListener("click", () => zoomTo(zoomIdx - 1));
    if (nextButton) nextButton.addEventListener("click", () => zoomTo(zoomIdx + 1));
    const onKey = e => {
      if (e.key === "Escape") close(); else if (e.key === "ArrowLeft") zoomTo(zoomIdx - 1); else if (e.key === "ArrowRight") zoomTo(zoomIdx + 1);
    };
    window.addEventListener("keydown", onKey);
    const previousOverflow = document.body.style.overflow;
    document.body.style.overflow = "hidden";
    document.body.appendChild(overlay);
    closeButton.focus();
    return () => {
      window.removeEventListener("keydown", onKey);
      document.body.style.overflow = previousOverflow;
      overlay.remove();
    };
  }, [zoomIdx]);
  useEffect(() => {
    const strip = stripRef.current;
    if (!strip) return;
    const measure = () => {
      const box = strip.querySelector("[data-carousel-imgbox]");
      if (box && box.clientHeight) setImgH(box.clientHeight);
    };
    measure();
    const ro = new ResizeObserver(measure);
    ro.observe(strip);
    return () => ro.disconnect();
  }, []);
  if (!items.length) return null;
  const start = page * columns;
  const visible = items.slice(start, start + columns);
  const zoomBtnStyle = {
    position: "absolute",
    zIndex: 2,
    width: "40px",
    height: "40px",
    borderRadius: "50%",
    border: "1px solid rgba(255, 255, 255, 0.3)",
    background: "rgba(255, 255, 255, 0.14)",
    color: "#fff",
    fontSize: "20px",
    lineHeight: "38px",
    textAlign: "center",
    cursor: "pointer",
    padding: 0
  };
  const pager = showControls ? <div style={{
    textAlign: "center",
    marginTop: "8px",
    fontSize: "12px",
    color: "var(--ad-muted, #6b7280)"
  }}>
      {start + 1}
      {visible.length > 1 ? "–" + (start + visible.length) : ""} of {count}
    </div> : null;
  if (perView === 1) {
    const img = items[page];
    const overlayArrow = side => {
      const isLeft = side === "left";
      return <button type="button" onClick={isLeft ? prev : next} aria-label={isLeft ? "Previous screenshot" : "Next screenshot"} style={{
        position: "absolute",
        top: "50%",
        transform: "translateY(-50%)",
        [isLeft ? "left" : "right"]: "10px",
        zIndex: 2,
        width: "36px",
        height: "36px",
        borderRadius: "50%",
        border: "1px solid var(--ad-border, #e4e5e7)",
        background: "var(--background, #fff)",
        boxShadow: "0 1px 6px rgba(0, 0, 0, 0.25)",
        fontSize: "18px",
        lineHeight: "34px",
        textAlign: "center",
        cursor: "pointer",
        padding: 0
      }}>
          {isLeft ? "‹" : "›"}
        </button>;
    };
    return <div style={{
      outline: "none",
      margin: "1.5rem 0"
    }} role={showControls ? "group" : undefined} aria-label={showControls ? "Screenshot carousel" : undefined} aria-roledescription={showControls ? "carousel" : undefined}>
        <div style={{
      position: "relative"
    }}>
          <div style={{
      height: STAGE_HEIGHT + "px",
      display: "flex",
      alignItems: "center",
      justifyContent: "center"
    }}>
            <button type="button" onClick={() => setZoomIdx(page)} aria-label={"Enlarge: " + (img.alt || "screenshot")} style={{
      display: "block",
      maxWidth: "100%",
      maxHeight: "100%",
      border: 0,
      padding: 0,
      background: "none",
      cursor: "zoom-in"
    }}>
              <img src={img.src} alt={img.alt ?? ""} style={{
      display: "block",
      maxWidth: "100%",
      maxHeight: STAGE_HEIGHT + "px",
      width: "auto",
      height: "auto",
      margin: "0 auto",
      borderRadius: "10px",
      border: "1px solid var(--ad-border, #e4e5e7)"
    }} />
            </button>
          </div>

          {showControls && overlayArrow("left")}
          {showControls && overlayArrow("right")}
        </div>

        {img.alt && <div style={{
      marginTop: "8px",
      fontSize: "13px",
      lineHeight: 1.4,
      color: "var(--ad-muted, #6b7280)",
      textAlign: "center"
    }}>
            {img.alt}
          </div>}

        {pager}
      </div>;
  }
  const prevPeek = start > 0 ? items[start - 1] : null;
  const nextPeek = start + columns < count ? items[start + columns] : null;
  const renderPeek = (img, side) => {
    if (!img) return null;
    const isLeft = side === "left";
    return <button type="button" onClick={isLeft ? prev : next} aria-hidden="true" tabIndex={-1} style={{
      flex: `0 0 ${PEEK_WIDTH}px`,
      width: PEEK_WIDTH + "px",
      alignSelf: imgH ? "flex-start" : "stretch",
      height: imgH ? imgH + "px" : undefined,
      border: 0,
      padding: 0,
      cursor: "pointer",
      opacity: 0.5,
      borderRadius: isLeft ? "10px 0 0 10px" : "0 10px 10px 0",
      backgroundImage: `url("${img.src}")`,
      backgroundRepeat: "no-repeat",
      backgroundSize: "auto 100%",
      backgroundPosition: isLeft ? "right center" : "left center",
      WebkitMaskImage: `linear-gradient(to ${isLeft ? "left" : "right"}, #000 15%, transparent 100%)`,
      maskImage: `linear-gradient(to ${isLeft ? "left" : "right"}, #000 15%, transparent 100%)`
    }} />;
  };
  const arrowStyle = {
    flex: "0 0 auto",
    width: "30px",
    height: "30px",
    borderRadius: "50%",
    border: "1px solid var(--ad-border, #e4e5e7)",
    background: "var(--background, #fff)",
    fontSize: "16px",
    lineHeight: "28px",
    textAlign: "center",
    cursor: "pointer",
    padding: 0
  };
  return <div style={{
    outline: "none",
    margin: "1.5rem 0"
  }} role={showControls ? "group" : undefined} aria-label={showControls ? "Screenshot carousel" : undefined} aria-roledescription={showControls ? "carousel" : undefined}>
      <div style={{
    display: "flex",
    alignItems: "center",
    gap: "10px"
  }}>
        {showControls && <button type="button" onClick={prev} aria-label="Previous screenshots" style={arrowStyle}>
            ‹
          </button>}

        <div ref={stripRef} style={{
    display: "flex",
    flexWrap: "nowrap",
    alignItems: "flex-start",
    gap: "14px",
    justifyContent: "center",
    flex: 1
  }}>
          {renderPeek(prevPeek, "left")}
          {}
          {Array.from({
    length: columns
  }).map((_, i) => {
    const img = visible[i];
    const slotStyle = {
      margin: 0,
      flex: "1 1 0",
      maxWidth: THUMB_MAX_WIDTH + "px",
      minWidth: 0
    };
    if (!img) {
      return <div key={start + i} aria-hidden="true" style={{
        ...slotStyle,
        visibility: "hidden"
      }} />;
    }
    return <div key={start + i} style={slotStyle}>
                <button type="button" data-carousel-imgbox onClick={() => setZoomIdx(start + i)} aria-label={"Enlarge: " + (img.alt || "screenshot")} style={{
      display: "block",
      width: "100%",
      border: 0,
      padding: 0,
      background: "none",
      cursor: "zoom-in"
    }}>
                  <img src={img.src} alt={img.alt ?? ""} style={{
      display: "block",
      maxWidth: "100%",
      maxHeight: Math.round(THUMB_MAX_WIDTH * 1.4) + "px",
      width: "auto",
      height: "auto",
      margin: "0 auto",
      borderRadius: "10px",
      border: "1px solid var(--ad-border, #e4e5e7)"
    }} />
                </button>
                {img.alt && <div style={{
      marginTop: "6px",
      fontSize: "12px",
      lineHeight: 1.4,
      color: "var(--ad-muted, #6b7280)",
      textAlign: "center"
    }}>
                    {img.alt}
                  </div>}
              </div>;
  })}
          {renderPeek(nextPeek, "right")}
        </div>

        {showControls && <button type="button" onClick={next} aria-label="Next screenshots" style={arrowStyle}>
            ›
          </button>}
      </div>

      {pager}
    </div>;
};

<Note>
  Only administrators can add new users to an organization and generate invites.
</Note>

## Invite a new user

<Steps>
  <Step title="Navigate to Team settings">
    Tap the **Settings** icon (bottom right), tap **Team**, then tap **Add new user**.
  </Step>

  <Step title="Define the new user's role and vault access">
    Select the permission levels for the user, then tap **Continue**. Select the vaults the user will have access to and tap **Continue**. Then select the vault policies the user will be a required approver of.
  </Step>

  <Step title="Enter the new user's email address">
    Provide the email address of the user you would like to invite.
  </Step>
</Steps>

<ImageCarousel>
  <img src="https://mintcdn.com/deployment-4/3eHo4c6eQNfdmseu/knowledge-base/images/screenshots/porto-add-user-role-selection.png?fit=max&auto=format&n=3eHo4c6eQNfdmseu&q=85&s=69c8f10d857812a51102ba7698df37d7" alt="Add user screen for selecting a team role" width="828" height="1792" data-path="knowledge-base/images/screenshots/porto-add-user-role-selection.png" />

  <img src="https://mintcdn.com/deployment-4/3eHo4c6eQNfdmseu/knowledge-base/images/screenshots/porto-add-user-vault-selection.png?fit=max&auto=format&n=3eHo4c6eQNfdmseu&q=85&s=289692bf0532668ebfb15d144ee2cc97" alt="Add user screen for selecting which vaults the new user can access" width="828" height="1792" data-path="knowledge-base/images/screenshots/porto-add-user-vault-selection.png" />

  <img src="https://mintcdn.com/deployment-4/3eHo4c6eQNfdmseu/knowledge-base/images/screenshots/porto-add-user-vault-policy-selection.png?fit=max&auto=format&n=3eHo4c6eQNfdmseu&q=85&s=e6fb8cd1a9820774ba0a2e1faf7d0079" alt="Add user screen for selecting vault policies for operator access" width="828" height="1792" data-path="knowledge-base/images/screenshots/porto-add-user-vault-policy-selection.png" />

  <img src="https://mintcdn.com/deployment-4/3eHo4c6eQNfdmseu/knowledge-base/images/screenshots/porto-add-user-email.png?fit=max&auto=format&n=3eHo4c6eQNfdmseu&q=85&s=947d6e5e02defde8cb03f84bcccc64e0" alt="Add user screen for entering the new user's email address" width="828" height="1792" data-path="knowledge-base/images/screenshots/porto-add-user-email.png" />

  <img src="https://mintcdn.com/deployment-4/3eHo4c6eQNfdmseu/knowledge-base/images/screenshots/porto-add-user-invite-sent.png?fit=max&auto=format&n=3eHo4c6eQNfdmseu&q=85&s=dea5df2b22df3a456e2789b8a6d022f7" alt="Confirmation screen showing the invite was sent to the new user's email address" width="828" height="1792" data-path="knowledge-base/images/screenshots/porto-add-user-invite-sent.png" />
</ImageCarousel>

The new user will receive an invite via email from `institutional@messages.anchorage.com` with instructions for how to join the organization.

## New user onboarding

<Steps>
  <Step title="Download the Porto iOS app">
    In the invite email, tap **Download the Porto iOS app** to download the mobile app from the Apple App Store.
  </Step>

  <Step title="Complete KYC enrollment">
    Follow the in-app prompts to complete identity verification (KYC) enrollment.
  </Step>

  <Step title="Scan the enrollment QR code">
    Scan the enrollment QR code to link your device to the organization.
  </Step>
</Steps>

## Quorum approval

Once the new user completes enrollment, the operation must be approved by the organization's quorum administrators.

<Steps>
  <Step title="Initiator notification">
    The administrator who initiated the request receives an alert notifying them to approve the operation.
  </Step>

  <Step title="Quorum approval">
    Quorum administrators receive a notification to approve the **Add user** operation.
  </Step>

  <Step title="Biometric authentication">
    Each approving administrator taps **Add user** and completes biometric authentication to confirm.
  </Step>
</Steps>

Once the quorum is met, the new user gains access to the organization and its assigned vaults.


## Related topics

- [Adding users](/knowledge-base/platform/users/adding-users.md)
- [Adding users with shared policies](/knowledge-base/porto/users/adding-users-advanced.md)
- [Sandbox onboarding](/knowledge-base/platform/developers/sandbox/sandbox-onboarding.md)
- [Onboarding your organization](/knowledge-base/platform/users/onboarding-organization.md)
- [Creating and managing vaults](/knowledge-base/platform/users/creating-vaults.md)
