---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the GetTOTP component

# Use the GetTOTP component {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Generate the Time-based One-time Password (TOTP) to access multi-factor
authentication (MFA)-enabled applications in an automation by using the GetTOTP component in
the RPA Desktop Design Studio application.

## Before you begin

* Create an MFA authenticator record and map the TOTP authenticator to the robot credential. For more information on how to perform these tasks on RPA Hub, see [Create an MFA authenticator in RPA Hub](https://www.servicenow.com/docs/1Eo_Q3qMCMXI3M0vEL0KYA "Define the authenticator and token length that acts as an enabler for the Time-based One-time Password (TOTP) authentication in RPA Hub so that the unattended robots can seamlessly authenticate against multi-factor authentication (MFA)-enabled applications.") and [Create a TOTP authenticator in RPA Hub](https://www.servicenow.com/docs/FTfyLWmXY4aJ7jUYYKBt5g "Map a multi-factor authentication (MFA) authenticator record with a seed in a robot credential. This mapping results in creating a Time-based One-time Password (TOTP) authenticator record in RPA Hub."). For more information on TOTP authentication in RPA Hub, see [TOTP authentication in RPA Hub](https://www.servicenow.com/docs/LI5W6iATRgDpYcWRzp7vKA "You can configure the Time-based One-time Password (TOTP) fields in RPA Hub that enable the unattended robots to seamlessly authenticate against multi-factor authentication (MFA)-enabled applications.").
* Connect to the required instance in RPA Desktop Design Studio and assign the bot process with the TOTP record to the automation. For more information, see [Assign bot process to an automation project](https://www.servicenow.com/docs/oUXPBvfYND_4jqTOwRNn~Q "Assign a bot process to an automation project in RPA Desktop Design Studio to start using the bot process resources.").
{#use-utilities-token-getoktatoken__ul_ot4_45b_qvb}

Role required: sn_rpa_fdn.rpa_release_manager or sn_rpa_fdn.rpa_admin

## About this task

The TOTP record is created in RPA Hub and the record is associated to the robot credential. The GetTOTP component in RPA Desktop Design Studio has an AuthenticatorName parameter. The authenticator name that you provide from the component must be present in the TOTP record. If the authenticator is present, the
TOTP is generated.

## Procedure

1. Navigate to UtilitiesToken from the Toolbox pane in the Design tab.
2. Drag the GetTOTP component to the Design surface.
3. In the AuthenticatorName field of the component, enter the name of the authenticator.  
   The name that you enter must match with the value in the Authenticator field of the TOTP record.
4. To test the component, right-click the component and select Run From Here.  
   You can also run the automation by selecting Run from the Design tab.

   When the component is successfully
   run, the output ports are populated in the connector as per the following
   table.  
   {#use-utilities-token-getoktatoken__table_bjr_2tl_fwb__entry__3}

   | Port name | Port type | Port description |
   |-|-|-|
   | TOTP | Data Out | One-time password that is generated at that point of execution. |
   | ValidFor | Data Out | Time in seconds until the password is valid. |
   [Table 1. Output ports of the GetTOTP component]

   {#use-utilities-token-getoktatoken__table_bjr_2tl_fwb}
5. **Optional:** To test the component, right-click the component and select Run From Here.  
   You can also run the automation by selecting Run from the Design tab.

*[\>]: and then


