Tanstack with better auth

In https://www.better-auth.com/docs/integrations/tanstack it mentions 'We recommend using the client SDK or authClient but the tutorial goes on to use auth.api.signInEmail ? I'm confused. Is auth.api the right way or not?
Integrate Better Auth with TanStack Start.
Was this page helpful?