https://www.growthbook.io/ logo
a

astonishing-yacht-13036

05/16/2023, 2:13 PM
Hi everyone. We are starting to use GrowthBook and are wondering if there is an easy way to seed a containerised GrowthBook instance with features, users and sdk credentials. We’d rather not fiddle with the mongodb instance directly and wondered if there are any undocumented APIs, or otherwise recommended methods to achieve this, please?
f

fresh-football-47124

05/16/2023, 2:20 PM
At the moment, GrowthBook requires a mongo or document db behind it
There might be a way to trick it I guess
I haven’t seen that done before
you can use something like mongo atlas, which should be very easy to add
a

astonishing-yacht-13036

05/16/2023, 2:23 PM
Thanks for the response Graham. Our use case is that we are using devspace and when the developers run the application stack, including GrowthBook, locally, we’d like the flags to be up to date.
Also potentially in e2e testing
We basically want to be able to automate the population of GrowthBook.
f

fresh-football-47124

05/16/2023, 3:33 PM
well, the feature flag payload is a json file, which could be hosted anywhere.
a

astonishing-yacht-13036

05/17/2023, 10:55 AM
Thank you Graham. But I guess there is no way to import flags into a GrowthBook instance, or add features via API?