> 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/sign-a-message.md).

# Sign a Message

Sign a message with one of the added pairs.

## Setup

This action has 2 fields, first one is for the message itself. The second one is *Wallet to sign with*, it is the pair address, make sure it was added in the keyring first.

![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2FWh3flXNaybBTuKvkqAoz%2FScreenshot%202022-02-09%20at%2017.52.52.png?alt=media\&token=d0235585-1990-485b-b917-04266a78b26e)

### Event - Signed

If the message was successfully signed, the event Signed will trigger. The signature will be available only after this event triggers.

### State - Signature

The signature is a list of numbers but in text format to easily safe it in Bubble database if needed.

## Demo

Find an example of this feature in the *Signature* workflow folder

![](https://2273326906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIMKdkPzZeUlk7WD5V4J8%2Fuploads%2FYC8FUQiytdl2a7E84oQy%2FScreenshot%202022-02-09%20at%2018.00.28.png?alt=media\&token=d3228762-e287-4a28-8466-1e98842b00b5)
