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

# Invite a specific customer

> Send one customer a private invitation to install your application.

An invitation is a private install link for one customer and one application. Use it when you know who will install, and you want the deployment tied to that customer's record in Deployz. To share one link with many customers, use an [install link](https://deployz.dev/docs/share/install-links.md) instead.

## How invitations work

* **Bound to one customer.** The invitation names the customer, and its deployment appears under that customer.
* **Used once.** An invitation creates exactly one deployment. After the customer confirms, it shows **Accepted** and can't be used again.
* **Secured by an access code.** The invitation link includes a secret access code as its last part, after the `#`. Deployz shows the link once, when you create the invitation, and can't show it again.
* **Expires after 7 days.** An unused invitation stops working 7 days after you create it. To give the customer more time, create a new invitation.
* **Nothing is created until the customer confirms.** Creating an invitation doesn't deploy anything.
* **The customer makes the final choices.** You can recommend a Region and a size. The customer sees your recommendations preselected and chooses the final Region and size. If the Region you recommended is no longer available for installs when the customer opens the link, the install page shows no Region recommendation.

## Before you start

* **A built release.** The customer installs your application's newest built release. Until the application has one, the install page tells the customer that the application has no published release yet. The **Invite customer** page checks this and waits for a release. If there isn't one, it offers **Build release from commit**, which builds the first release from the commit Deployz analyzed. The invitation dialog on a customer's page doesn't check, so make sure a release is built before you use it. See [Create a release](https://deployz.dev/docs/releases/create.md).
* **An active subscription before the customer confirms.** You can create invitations without a subscription, but a customer can confirm only while your organization has an active subscription. If you don't have one, the **Invite customer** page shows **Start your subscription**. See [Pricing and billing](https://deployz.dev/docs/account/billing.md).

You don't need a test deployment to send an invitation. Running one first is still the best way to find problems before your customer does. See [Run a test deployment](https://deployz.dev/docs/share/test-deployment.md).

## Create an invitation

You can create an invitation from the **Invite customer** page or from a customer's page. Both create the same kind of invitation.

> [tab] Invite customer page
>
> **Who:** you (the vendor), in the Deployz dashboard.
>
> 1. Select **Invite customer** in **Customers**, on **Home**, or on **Deployments**. Each opens the **Invite customer** page.
> 2. In **Customer**, select an existing customer, or keep **Create new customer** and enter the customer's name, email, and, optionally, company. Deployz refuses a second customer with the same email, ignoring uppercase and lowercase. If the email belongs to an existing customer, the page says "A customer with this email already exists." Select **Use existing customer** to invite that customer instead.
> 3. Select the **Application**.
> 4. Optional: in **Recommended AWS region**, select a Region to recommend. Keep **No recommendation** to let the customer choose freely.
> 5. In **Recommended size**, choose the size to preselect. The list starts at your application's minimum size.
> 6. Select **Invite customer**. The button is unavailable until the application has a built release.

> [tab] Customer page
>
> **Who:** you (the vendor), in the Deployz dashboard.
>
> 1. In **Customers**, open the customer.
> 2. Select **New invitation**. The **Invite customer** dialog opens.
> 3. Select the **Application**.
> 4. In **Recommended size**, choose the size to preselect.
> 5. Optional: in **Recommended AWS Region**, select a Region to recommend.
> 6. Select **Create invitation**.

## Send the invitation

**Who:** you, in the Deployz dashboard, then by your own email or chat.

**Invitation created** shows the invitation link. Copy it now. The link contains the access code, and Deployz can't show it again after you close this view.

1. Select **Copy install link**. The link already includes the access code. On a customer's page, **Technical details** also shows the code in a separate **Access code (included in the link)** field. You don't need to send it separately.
2. Send the link to your customer. Deployz doesn't email the invitation link, so send it yourself. Deployz does email the customer a sign-in code later, when they sign in with their email.
3. Send your customer [Install the application](https://deployz.dev/docs/customers/install.md), which describes their steps.

On the **Invite customer** page, **Invitation created** also offers **Set up configuration**. Use it to enter this customer's configuration values for them, instead of having the customer enter them on the install page.

> [!WARNING]
>
> Treat the invitation link like a password. Anyone who has it can review and confirm the install for this customer, until it's used, expires, or you [revoke it](#revoke-an-invitation).

## What your customer does next

**Who:** your customer, on the install page and in their AWS console.

1. They open the link. No Deployz account is needed.
2. They choose the AWS Region and size, enter any values you asked them to provide, and review the resources and estimated monthly AWS cost.
3. They confirm. Deployz creates the deployment, with the Region and size they chose. Neither can be changed later.
4. They sign in with their email and a code, connect their AWS account, and follow the install progress until the application is ready.

> [!NOTE]
>
> Before the customer can connect their AWS account, they sign in with their email using an 8-digit code that Deployz sends to the email on their customer record. Make sure that email is correct and that the customer can read it. To fix it, open the customer in **Customers**, select **Edit customer**, and change **Email** before their first sign-in. After the first verified sign-in, that address stays the owner of the deployment, and later edits to the customer record don't change it. If you're signed in to the dashboard, you can open the customer's page without a code.

After the customer confirms, the new deployment has its own install link, valid for 7 days. The deployment's **Install link** card shows the expiry date. If the link expires before the customer's AWS account connects, select **Issue new install link** on the deployment to make it valid for 7 more days. See [Reconnect or update the Deployz connector](https://deployz.dev/docs/operate/connector.md#you-issue-a-new-install-link).

[Install the application](https://deployz.dev/docs/customers/install.md) covers each step from the customer's side.

## Check the status of an invitation

**Who:** you, in the Deployz dashboard.

Open the customer in **Customers**. **Invitations** lists each invitation with its application, recommended Region, expiry date, and status:

| Status | Meaning |
| - | - |
| **Active** | The customer can still open and confirm it. |
| **Accepted** | The customer confirmed it. The deployment is listed under the customer. |
| **Expired** | 7 days passed without a confirmation. Create a new invitation. |
| **Revoked** | You revoked the invitation. It can't be used. |

Invitations appear only on the customer's page. They don't appear with the application's install link.

## Revoke an invitation

**Who:** you, in the Deployz dashboard.

Revoke an invitation when it was sent to the wrong person, or when you no longer want the customer to install from it. You can revoke only an **Active** invitation, and you can't undo it.

1. In **Customers**, open the customer.
2. In **Invitations**, select **Revoke** next to the invitation.
3. In **Revoke this invitation?**, select **Revoke**.

The invitation link stops working, and the customer can't start an install from it. No AWS resources are removed. To let the customer install, create a new invitation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.