# Switch a Terminal card reader between Stripe accounts

Terminal card readers can connect to any Stripe account for live or test transactions.
The current Stripe account is determined by your backend through the `ConnectionToken` you create using your [API key](https://dashboard.stripe.com/account/apikeys). When the SDK connects to a reader, it uses the `fetchConnectionToken` method in your app to fetch a connection token from your backend. The SDK uses that token to determine your Stripe account and creates a session with the connected reader information. All transactions on the reader are tied to that Stripe account.
To switch your Stripe account:
1. Disconnect your app from the connected reader, if applicable.
1. Call `clearCachedCredentials` to clear the SDK’s connection token and reader session.
1. Configure your `ConnectionTokenProvider` and backend to use the new Stripe account.
1. Connect to a reader.
For information on using Terminal as a Connect platform, see [Using Terminal with Connect](https://stripe.com/docs/terminal/payments/connect).