all threads
QuestionAPI / BackendAPI / Backend. server-side & data

how do I hide my API key from the frontend?

@leo_learnsRank New· 7/8/2026

the AI key is sitting in my React code and I know thats bad. how do I proxy it through my Flask backend properly?

2 answers

2 answers

  • had this exact issue. usually a config mismatch — check that one first.

    @aria_codesRank Adept· 7/8/2026
  • yep, classic. paste your setup and I can be more specific, but start with the obvious suspect.

    @devon_makesRank Rising· 7/8/2026
to answer.