Important: All credentials are securely stored in 1Password (or Nango, for API connections) and are never revealed to our partners. Never hardcode usernames, passwords, API keys, or OTP values into instructions.
Agents need their own provisioned identity and scoped permissions β not borrowed human credentials β for optimal security and reliability.
You will use the [[fillCredentialsAndSubmit]] command to guide your agents through login.
The command contains:
"Authentication", which tells the agent which stored credential to use
Fields like "username", "password", or "MFA" which tell the agent where to place those credentials on the page
"Submit", which tells the agent which button to click after filling the credentials
1. Navigate to your automation and create a dedicated login agent
2. Click to add a command
3. Select the "fillCredentialsAndSubmit" command
4. Click "Select Authentication"
5. Click on the credential that matches the website you need to login to
6. The fields that are displayed next will match what is stored for that credential in 1Password.
The available factors are:
Username
Password
Email
Email Authenticator Code
One-Time-Password (OTP)
In this example, the login requires Username, Password, and Email Authenticator Code.
7. Determine whether your login flow is:
A) on a single page
B) spread across multiple pages (with a button to advance to the next page)
Single page login
8. Click into the "Username" field and type in the field name or label exactly as it appears on the site you need to login to
9. Click into the "Password" field and type in the field name or label exactly as it appears on the site you need to login to
10. Click into the "Click target" field and type in the button text exactly as it appears on the site you need to login to
11. Click "Done"
Multi-page login
12. Click into the "Username" field and type in the field name or label exactly as it appears on the site you need to login to
13. Click into the "Click target" field and type in the button text exactly as it appears on the site you need to login to
14. Click "Done"
Tip: Repeat the steps above - you should end up with one fillCredentialAndSubmit command for each separate screen or page in your login flow.
15. Click to add another command
16. Select the "fillCredentialsAndSubmit" command
17. Click "Select Authentication"
18. Click on the credential that matches the website you need to login to
19. Click into the "Password" field and type in the field name or label exactly as it appears on the site you need to login to
20. Click into the "Click target" field and type in the button text exactly as it appears on the site you need to login to
21. Click "Done"
22. Click to add another command
23. Select the "fillCredentialsAndSubmit" command
24. Click "Select Authentication"
25. Click on the credential that matches the website you need to login to
26. Click into the "Email Authenticator Code" field and type in the field name or label exactly as it appears on the site you need to login to
27. Click into the "Click target" field and type in the button text exactly as it appears on the site you need to login to
28. Click "Done"
29. Every agent must finish with the reportStop command, so click to add one final command
30. Select the "reportStop" command
31. Fill in your output values (if you don't require any specific outputs, you can simply write something like "Login complete")
32. Click "Done"
33. Remember to click "Save" in order to preserve your changes!






























