---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the GetApplicationCredential component

# Use the GetApplicationCredential component {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

When login credentials for an RPA Hub application are already set in RPA Hub, retrieve the credentials by using the GetApplicationCredential component.

## Before you begin

In RPA Desktop Design Studio, assign your automation to a bot process by selecting Assign bot process option from the Design tab. For more information, see [Assign bot process to an automation project](https://www.servicenow.com/docs/RGsN4_ux2Qqu5R7EL3A~ow "Assign a bot process to an automation project in RPA Desktop Design Studio to start using the bot process resources.").

Role required: none

## About this task

The GetApplicationCredential component can be used when the automation involves an application that requires user authentication. When a user name and password for the application are stored in RPA Hub, GetApplicationCredential retrieves them.

You can configure the properties for the GetApplicationCredential component. For more information about these properties, see [Properties of the Credentials components](https://www.servicenow.com/docs/oLzvH7D5mR~lyET14T_ocQ "To set the properties of a Credentials component, double-click a component and enter the values in the Properties pane.").

## Procedure

1. In the Toolbox pane, navigate to RPA HubCredentials.
2. Drag the GetApplicationCredential component to the Design surface.
3. Confirm the configuration of the component's input fields.  
   For more information, see [Configure port properties](https://www.servicenow.com/docs/d92L75lHSFmmidzeOPPgTw "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
4. Connect the data and control ports of the GetApplicationCredential component to the corresponding ports of the other components as described in the following table.  
   {#use-credentials-getappcredential__table_jnw_jn1_krb__entry__5}

   | Port | Description | Port type | Data type | Required |
   |-|-|-|-|-|
   | Name | Receives the name of the business application that is associated with the bot process | Data In | String | Yes |
   | UserName | Returns the user name that is needed to log in to the business application | Data Out | String | Yes |
   | Password | Returns the password needed to log in to the business application | Data Out | SecureString | Yes |
   [ ]

   {#use-credentials-getappcredential__table_jnw_jn1_krb}
5. To test the component, on the Design tab, select Run.

*[\>]: and then


