Build a bot that securely logs in to an online bank
using credentials from Credential Vault, ensuring that the username or
password is not stored in the bot or on the device.
In this example, you configure a credential with user-provided values and build a bot to automate logging into an online bank website.
Procedure
-
Provide the user-input values.
-
Navigate to .
The credentials that require a user-provided value have an incomplete
icon in the first column.
-
Click the credential that holds the bank login credentials.
-
Click Edit.
-
Enter the attribute values for the username and password and click
Save changes.
-
Open a new bot.
-
On the left panel, click Automation.
A list of available bots and forms is
displayed.
-
Click .
-
Enter a bot name and click Create and
edit.
-
Open the browser to the bank login page.
-
Double-click or drag the
action.
-
Enter the URL.
For example, www.examplebank.com/login.
Use an application page where you want to enter a credential.
-
Select your preferred browser.
-
Click Save and Run.
The bank website opens in a new window. If the website opens in
a new tab, drag it into a separate window.
-
Specify the username text box.
-
Double-click or drag the
action.
-
From the Object detail menu, select the window
containing the bank website.
-
Click Capture object.
The window containing the bank website is
activated.
-
Hover over the username text box and click when a red outline
appears.
-
In the Object properties table, verify that the Control Type is a
textbox.
-
From the Action menu, select Set
text.
-
Select the Select a credential option and click
Pick to navigate to the credential.
The Pick a credential window
appears.
-
Select the Locker,
Credential, and
Attribute for the bank website username and
click Confirm.
-
Repeat Step 4 to specify the password text box.
-
Specify the Log on button.
-
Double-click or drag the
action.
-
From the Object detail menu, select the window
containing the bank website.
-
Click Capture object.
The window containing the bank website is
activated.
-
Hover over the Log on button and click when a red outline
appears.
-
In the Object properties table, verify that the Control Type is a
button.
-
From the Action menu, select
Click.
-
Close the window containing the bank website.
-
Click Save and Run.
Next steps
Example of building a bot that uses credential variables
Perform the steps in this task to learn how to pass values securely between bots.