Skip to main content

Arista AGNI integration

Learn how to automatically provision guest credentials to your AGNI network by connecting to Envoy Visitors.


Overview

The Arista AGNI + Envoy Visitors integration automatically provisions temporary Wi-Fi credentials for your visitors, streamlining the arrival experience while keeping your network secure. When a visitor signs in through Envoy, the integration creates a guest user in Arista Guardian for Network Identity (AGNI) and delivers their Wi-Fi credentials inline in the Visitor Welcome Email, and optionally via SMS. When the visitor signs out, their guest access is automatically disabled or removed.

This is a cloud-based integration that connects to your Arista CloudVision AGNI cluster using an API token, so there is no on-premises hardware or agent to maintain.

PREREQUISITES

  • You must have an Arista CloudVision AGNI cluster with a guest captive portal configured.

  • Arista CloudVision AGNI admin privileges to generate an API Key

    • You must generate an API token in AGNI for Envoy to authenticate with your cluster.

  • To deliver AGNI credentials to your visitors, you must use a sign-in flow that captures an email address (and a phone number, if you plan to send credentials via SMS).

How it works

When a visitor signs in at Envoy, the integration creates a guest user in AGNI's captive portal. AGNI generates a unique pre-shared key (UPSK) passphrase for that guest, which Envoy retrieves and delivers to the visitor. The credentials, including the visitor's Wi-Fi username and the auto-generated passphrase, are included inline in the Visitor Welcome Email, and can also be sent by SMS.

You control how long the credentials remain valid by setting a configurable access duration that begins when the visitor signs in. When the visitor signs out through Envoy, the integration applies your chosen sign-out behavior: it can either disable the AGNI guest user or delete it entirely.

Configuration

AGNI Admin Setup

  1. Login to your Arista admin portal, then navigate to Launchpad > Admin > Keys.

  2. Confirm that at least one captive portal exists under Identity > Guest > Portals.

Step 1: Credentials

You'll need to establish a connection to Envoy by providing your AGNI credentials.

  1. AGNI FQDN: Provide your fully-qualified domain name for your AGNI cluster.

  2. API Launch Key: The API Key ID, located in your AGNI instance under Launchpad > Admin > Keys.

  3. API Key Value: The value for your API Key.

  4. (Optional) CAS URL: If Arista directs you to a specific CAS login endpoint, provide that URL here.

  5. Once all required fields are populated, click Next Step.

Step 2: Visitors

Once the connection is successful, you'll need to configure how visitors are given access to your network.

  1. Guest Portal: Select the captive portal from the dropdown that will host your visitors.

  2. Access duration: Define how long the WiFi connection will be available after the visitor signs in.

  3. If you want to provision only invited guests, check the box next to Only invited visitors.

  4. Blocked flows: Select any visitor sign-in flows that will not be automatically provisioned.

  5. Sign-out behavior: Select the appropriate action for visitor sign-out.

  6. Check the box next to Send credentials via SMS to send AGNI credentials via text. You'll need to collect visitors' mobile phone numbers to send credentials this way.

  7. Device limit: Limit the number of devices visitors can connect by setting a number here.

  8. Click Complete Setup to save your settings and finish installation.

Step 3: Adding AGNI credentials to the Welcome Email

Once your portal and visitors' settings have been configured, the final step is to add a custom content block to your welcome email to display the AGNI-created credentials.

See main article: Configure the Welcome email

  1. In the Envoy dashboard, navigate to Visitors > Settings > Email templates, then click the Welcome email tab.

  2. You can either Add template, or view an existing template to make edits.

  3. Scroll down to the Body section, and click + Add block to add a new custom content block.

  4. In your new custom content block, click Add dynamic content, then select Arista AGNI WiFi Welcome Email. This will add your automatically-provisioned AGNI credentials to your Welcome email.

  5. Be sure to save your changes by clicking Save in the upper-right corner.

  6. You'll need to repeat this process for any welcome email template that is sent to AGNI-provisioned visitors.

  7. Apply this template to applicable sign-in flows by clicking Manage by sign-in flow.

Did this answer your question?