> For the complete documentation index, see [llms.txt](https://polkadot.novabloq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkadot.novabloq.com/element-polkadot-keyring/actions/add-pair-to-keyring.md).

# Add Pair to Keyring

This action will add a pair to the keyring, you can add as many as you need.

## Setup

This an action, as any other action, it can be used in Bubble workflow actions.\
To add the account you will need its mnemonic phrase.

<img src="https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2Fd8EHn7fcJRRvosCMtUUs%2Fadd_pair.png?alt=media&amp;token=72248fb3-72e3-4261-84c6-74721d98244e" alt="" data-size="original"><br>

### Event - Wallet added to keyring&#x20;

After running this action, it will trigger an event called ***Wallet added to keyring*** if it was successfully executed, so you know that everything is alright. \
For example, in our demo we are showing a success popup when this event triggers

![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2FBec0uMTMNjujaxSZxDJz%2FScreenshot%202022-02-09%20at%2017.01.21.png?alt=media\&token=00138864-225f-49d6-8b51-39931f2401ce)

### State - Added pair address

This state shows the address of added pair and it will be available when the event described above triggers.

## Demo

Find an example with this action on [keyring page](https://bubble.io/page?type=page\&name=keyring\&id=polkadotjs\&test_plugin=1639402639641x977692461648052200_current\&tab=tabs-2), select the *Add/Remove pairs* workflow folder, to see all related workflows.

![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2Fte7r1UKRpHmptUL3dRGB%2Fadd_remove_pairs.png?alt=media\&token=77cf708f-ba24-4e25-80a0-617399f3e8cb)
