does each environment have diff client id? or app...
# ask-questions
d
does each environment have diff client id? or application can retrieve all environment values at same time and pick the value based on app's environment?
f
Each SDK endpoint can specify an environment
(and project, if needed)
d
Do you mean
Copy code
<https://cdn.growthbook.io/api/features/{client-id}/{env}>?
f
Not exactly - when you set up the SDK, you can select what env to use
d
I see. the created client key is tired to the environment. For example, for three environments, we need three different client keys.
Am I right? Then, all of these three keys are tied with same account but diff environment
f
correct
typically environments have their own set of env variables and specific set of rules
if you wanted one GrowthBook environment to do multiple environments on your end, you can just name it whatever you like (like production and mobile)
d
with different feature name?
f
I just mean that an SDK per environment is normal- but if you want to us that SDK url multiple places, that’s up to you
d
@fresh-football-47124 How can I add security token in the call header when I build new GrowthBook object in our application?
f
what SDK?
d
React
We try to use in house GB
f
okay
what security token are you referring to?
d
In each https call, the request header should have a security token.
Does the context have Authorization or similar field which will be used in request header?
or is it possible we add this field in GB SDK call header?