> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/wise.md).

# Wise credentials

You can use these credentials to authenticate the following nodes:

* [Wise](/integrations/builtin/app-nodes/n8n-nodes-base.wise.md)
* [Wise Trigger](/integrations/builtin/trigger-nodes/n8n-nodes-base.wisetrigger.md)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Create a [Wise](https://wise.com/) account.

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* API token

## Related resources <a href="#related-resources" id="related-resources"></a>

Refer to [Wise's API documentation](https://docs.wise.com/api-docs/api-reference) for more information about the service.

## Using API token <a href="#using-api-token" id="using-api-token"></a>

To configure this credential, you'll need:

* An **API Token**: Go to your **user menu > Settings > API tokens** to generate an API token. Enter the generated API key in your n8n credential. Refer to [Getting started with the API](https://wise.com/help/articles/2958107/getting-started-with-the-api) for more information.
* Your **Environment**: Select the environment that best matches your Wise account environment.
  * If you're using a Wise test sandbox account, select **Test**.
  * Otherwise, select **Live**.
* **Private Key (Optional)**: For live endpoints requiring Strong Customer Authentication (SCA), generate a public and private key. Enter the private key here. Refer to [Add a private key](#add-a-private-key) for more information.
  * If you're using a **Test** environment, you'll only need to enter a Private Key if you've enabled Strong Customer Authentication on the [public keys management page](https://sandbox.transferwise.tech/public-keys).

## Add a private key <a href="#add-a-private-key" id="add-a-private-key"></a>

Wise protects some live endpoints and operations with Strong Customer Authentication (SCA). Refer to [Strong Customer Authentication & 2FA](https://docs.wise.com/api-docs/features/strong-customer-authentication-2fa) for details.

If you make a request to an endpoint that requires SCA, Wise returns a 403 Forbidden HTTP status code. The error returned will look like this:

> This request requires Strong Customer Authentication (SCA). Please add a key pair to your account and n8n credentials. See <https://api-docs.transferwise.com/#strong-customer-authentication-personal-token>

To use endpoints requiring SCA, generate an RSA key pair and add the relevant key information to both Wise and n8n:

1. Generate an RSA key pair:

   ```sh
   $ openssl genrsa -out private.pem 2048 
   $ openssl rsa -pubout -in private.pem -out public.pem
   ```
2. Add the content of the public key `public.pem` to your Wise **user menu > Settings > API tokens > Manage public keys**.
3. Add the content of the private key `private.pem` in n8n to the **Private Key (Optional)**.

Refer to [Personal Token SCA](https://docs.wise.com/api-docs/guides/strong-customer-authentication-2fa/personal-token-sca) for more information.
