metabaseInstanceUrl:"https://metabase.example.com",// Required: Your Metabase instance URL
jwtProviderUri:"/sso/metabase",// Required: An endpoint in your app that returns signs the user in and delivers a token
};
```
#### Using Pages Router
This works almost the same as the App Router, but you don't need to mark your component that imports Metabase SDK components as a React Client component (with "use client").
If you authenticate with Metabase using JWT, you can create an API route that signs a user into Metabase.
Create a new `metabase.ts` file in your `pages/api/*` directory, for example `pages/api/sso/metabase.ts` that corresponds to an endpoint at /api/sso/metabase.