---
title: 2FA and verification codes for AI agents | Kard
url: https://usekard.com/product/identity/2fa-codes/
description: Your AI agent reads its own 2FA codes from email, SMS and authenticator apps, never seeing them in message text, so it signs in without you.
---

2FA codes

# Every code it needs,!-- --> read without you.!-- -->

A sign-up or sign-in ends with a code, and that is where most agents stop and wait for you. With Kard the code goes to the agent’s own inbox, number or authenticator, and it reads it through one tool.

[Sign up](https://app.usekard.com/sign-up)[Log in](https://app.usekard.com/sign-in)

Where codes come fromHeld by KardWhat it gets throughmailEmail codeslinkSign-in linkssmsSMS codesshield_lockAuthenticator appspasswordBackup codeshow_to_regSign-upsloginSign-insdevicesNew-device checkslock_resetAccount recoveryvisibility_offHeld backNever in the message textscheduleLatest onlyOld codes ignoredlockSecrets sealedAuthenticator keys never showndeleteNever readCodes sent to your phone or inbox

Where codes come from

Email codes

Sign-in links

SMS codes

Authenticator apps

Backup codes

Held by Kard

Held back

Never in the message text

Latest only

Old codes ignored

Secrets sealed

Authenticator keys never shown

 Never read!-- -->: !-- -->Codes sent to your phone or inbox

What it gets through

Sign-ups

Sign-ins

New-device checks

Account recovery

!--astro:end-->

 pin
 Every kind of code Email, SMS, authenticator and backup codes.

 visibility_off
 Held back A tricky message cannot make it repeat a code.

 bolt
 No waiting for you The sign-in finishes without you.

## Two-factor stops most agents. Not this one.

Every second check your agent can now pass, and the code that passes it.

- Accounts with email 2FA Email code
- Magic-link sign-ins Sign-in link
- Accounts with SMS 2FA SMS code
- Accounts with authenticator 2FA Authenticator code
- New-device checks Latest code
- Account recovery Backup code
- Business tools Authenticator code
- Supplier portals Email or SMS code
- Marketplaces SMS code
- Developer tools Authenticator code
- Admin dashboards Authenticator code
- Any site with 2FA The right code

## How a code gets used

The agent never reads a code in a message. It asks Kard for the latest one.

### 1. It signs in

With its email or number and a saved password.

### 2. The site asks for a code

By email, SMS or an authenticator app.

### 3. Kard holds it

The code never appears in the text the agent reads.

### 4. It asks for the latest

Kard hands over the current code, and the agent enters it.

## What happens when…

Every way a code can go wrong, and what Kard does.

-
 The code is slow to arrive It waits for it, up to a time it chooses, instead of polling.

-
 Several codes are waiting It gets the newest. Codes older than a few hours are ignored unless it asks for more.

-
 A message tries to make it repeat a code Codes never appear in the text it reads, so there is nothing to repeat.

-
 The site uses an authenticator app Kard keeps the secret sealed and hands over only the current code.

-
 It loses access Backup codes are kept sealed and used one at a time.

-
 A code goes to your phone It cannot read it. It only reads codes sent to its own inbox and number.

-
 A sign-in link arrives The link is held back too. The agent asks for it and opens it in its own browser.

-
 The site asks again tomorrow Same number, same authenticator, so the next code works too.

## Codes, in detail

Where each kind comes from and how it is held.

Codes, in detail

| Email codes and links | From its own inbox |
| --- | --- |
| SMS codes | From its own phone number |
| Authenticator codes | Made by Kard from a sealed secret |
| Backup codes | Kept sealed, used one at a time |
| In message text | Codes and links replaced by a placeholder |
| Freshness | Newest first; older than a few hours ignored unless asked |
| Waiting | Waits for a code to arrive, up to a time it chooses |
| Never reads | Codes sent to your phone or inbox |

## Codes it reads itself, or codes you paste

Same agent, same chat. On its own it stops and waits for you. With Kard it reads the code itself.

 Feature

With Kard

Claude or Codex on its own

Reads email codes

 You paste them in

Reads SMS codes

 You read them out

Authenticator codes

 You open the app

Backup codes

 You look them up

Codes hidden from tricky messages

Finishes without you

 It waits for you

## Set up in three steps

No server to run and no code to write.

1.
 Step !-- -->1

### Connect your AI tool

Add Kard to Claude, ChatGPT, Cursor or Codex with one URL, and sign in once.

2.
 Step !-- -->2

### Create a Kard

Give it a name. It gets its email address, phone number, codes, passwords and browser at once.

3.
 Step !-- -->3

### Give it the job

Tell it which sites to work on. It signs in once and stays signed in.

[Sign up](https://app.usekard.com/sign-up)

## Questions about 2FA codes

How an agent passes the second check.

 How does an AI agent get a verification code?

The site sends the code to the agent’s own address or number, or the agent’s authenticator makes it. The agent asks Kard for the latest code and enters it. The code is never shown in the message text it reads.

 Why is the code held back from the message text?

Text in a message is untrusted: it can be written to trick an AI. Holding the code back means a malicious message cannot make the agent repeat it.

 Does Kard support authenticator apps?

Yes. Kard keeps the secret sealed and gives the agent the current code when it needs one.

 What about SMS codes?

They arrive at the agent’s own phone number, and the agent reads them through the same tool.

 Can it read codes sent to me?

No. It only reads codes sent to its own inbox and number.

!--astro:end-->

## Never paste a code again.

Email, SMS and authenticator codes, read by your agent, in every AI tool you use.

[Sign up](https://app.usekard.com/sign-up)[Log in](https://app.usekard.com/sign-in)

One URL to connect. You approve every risky step.
