Encodable Key Card Quick Start
Create your first encodable key card credential to start controlling an access control system with Seam.
Last updated
Was this helpful?
Create your first encodable key card credential to start controlling an access control system with Seam.
Last updated
Was this helpful?
In this quick start, create an ACS user for a virtual ASSA ABLOY Visionline access control system. Then, grant the user access to an entrance using a encodable key card credential.
This quick start walks you through the process that applies specifically to the Visionline ACS. There are often differences between access control systems. For example, for some access control systems, you encode credentials onto cards. For others, you do not encode data onto cards, but, rather, assign cards to users.
Once you've completed this quick start, learn how to work with your ACS using Seam, by reading the system integration guide for your ACS.
This quick start walks you through the following basic steps:
Connect an access control system to Seam.
To get started quickly, use a virtual ACS in a sandbox workspace.
Install a Seam SDK and create an API key.
Create an ACS user.
Create an encodable key card ACS credential for the ACS user.
This credential contains both the set of entrances to which the user has access and the access schedule for the user. While some access control systems specify allowed entrances directly within the credential, others use access groups. For more details, see Access Permission Assignment Variations.
View the following information about your successfully-created credential:
The list of entrances to which the ACS user now has access.
The access schedule for the credential.
Let's get started!
In this quick start, use Seam Console to connect a virtual ACS to your sandbox workspace. Alternately, you can use the Seam API to create a Connect Webview and then use it to connect an ACS to Seam.
Log in to Seam Console.
In the upper-left corner, click the workspace switcher and select or create a sandbox workspace.
In the top navigation pane, click ACS Systems.
On the Access Systems page, click New Access System.
Seam Console displays a Connect Webview that enables you to connect a virtual ACS to Seam.
In the Connect Webview, authorize the connection.
Click Continue.
In the device brand list, click Visionline.
On the Set up your Seam Bridge page, click Continue.
Seam Bridge is a software-only component that enables you to connect on-premises software systems to the Seam platform. Because Visionline is an on-premises ACS, Seam Bridge is required for real Visionline systems. However, this quick start uses a virtual Visionline ACS, so you do not need to install Seam Bridge.
On the Visionline info page:
In the Enter your pairing token field, type 123456
(or any six-character string).
In the Name your bridge field, type My Network
(or any unique string).
Click Submit.
On the Enter your credentials page:
In the Visionline Site Name field, type any string to identify this virtual Visionline ACS site, for example, My Visionline Site
.
In the Username field, type jane
.
In the Password field, type 1234
.
Click Close.
The Access Systems page now displays the newly-connected virtual Visionline access control system.
Download and install a Seam SDK in your favorite programming language.
Create an API key.
In the top navigation pane of Seam Console, click Developer.
In the left navigation pane, click API Keys.
In the upper-right corner of the API Keys page, click Add API Key.
In the Add API Key dialog, type a name for your new API key and then click Create API Key.
Copy the newly-created API key and store it for future use.
Open a terminal window and export your API key as an environment variable.
The Seam SDK that you have installed automatically uses this API key once you have exported it.
Create an ACS user within the virtual Visionline access control system.
Find the ACS system ID.
In the top navigation pane of Seam Console, click ACS Systems.
On the Access Systems page, locate the Visionline ACS, for example, My Visionline Site.
In the acs_system_id column for the Visionline ACS, click the ID to copy it.
Store this ACS system ID for future use.
Create the ACS user, as follows:
Code:
Output:
Create an encodable key card credential for the ACS user. In this credential, specify the set of allowed entrances and the access schedule. For Visionline, you must also specify some system-specific metadata, such as the card format and whether the credential is an override credential.
If this credential were intended for a real Visionline card, you'd need to create the credential and then encode this data onto the key card. Other access control systems do not use encodable cards, but, rather, assign cards to users.
Find the IDs of the allowed entrances.
In the top navigation pane of Seam Console, click ACS Systems.
On the Access Systems page, click the Visionline ACS, for example, My Visionline Site.
On the Visionline ACS page, click the Entrances tab.
Locate the Vingcard Lock 2 and Guest Lock 1 entrances.
In this example, the set of entrances includes both a common entrance and a guest room door.
For each of these entrances, click ..., click Copy Id, and then store this entrance ID for future use.
Create the key card credential, as follows:
Code:
Output:
You can use Seam Console, the Seam API, or the Seam CLI to view the following information about your successfully-created credential:
The list of entrances to which the ACS user now has access.
The access schedule for the credential.
To use Seam Console to view information about your new key card credential:
In the top navigation pane of Seam Console, click ACS Systems.
On the Access Systems page, click the Visionline ACS, for example, My Visionline Site.
In the Users table, click Jim Doe, the ACS user that you created.
In the Credentials tab for the ACS user, view the following information for the key card credential that you created:
Under the credential name, Seam Console displays the list of list of entrances to which the credential grants access.
The Start and End fields for the credential show the access schedule.
Note that Seam Console displays times adjusted to your local computer settings. That is, the times that you see in Seam Console are the times that you specified when creating the credential, adjusted to match your computer's time settings.
Visionline requires you to encode credentials onto key cards. You can use the Seam API or Seam Console to handle this step. For details, see Working with Card Encoders and Scanners.
Now that you've created a encodable key card credential, try out the other ACS quick starts.
Then, connect your ACS to Seam.
For a deeper dive into ACS concepts and instructions, see the following topics:
Learn about ACS concepts.
Create ACS users.
For relevant access control systems, assign ACS users to access groups.
Learn about available entrances.
Create credentials for ACS users.
For relevant access control systems, encode credentials onto key cards.
See the Seam Access Control Systems API reference.