Hello there! Hope everyone is staying safe. I've b...
# support-questions
t
Hello there! Hope everyone is staying safe. I've been doing my best to make sure I understand everything from the documentation, but I still have a few questions that should be simple enough to answer😄 , so here goes: I have an existing react/Next.js app which is successfully pulling GraphQL post data from my WordPress site. I am trying to find the simplest way to validate user login for the app against my existing SQL/WP users. Using the next.js example with-supertokens, I'm slightly confused as to the best way to implement this connection. My app is on a subdomain, so I am trying to avoid creating a new database there, if needed. 1. Do I need a self-hosted core instance of supertokens? (not running Docker, but on Node.js- I have reviewed the download section and parameters) 2. Is the Apollo example listed in the documentation a good place to start? (https://supertokens.io/docs/website/graphql) I guess the "Next.JS" way would be to configure this: https://supertokens.io/docs/community/database-setup/mysql#2-connect-supertokens-to-your-database into an env file, but I feel like I'm missing something. (apologies if any of this has been covered already, I will keep searching)