
kdlef (kdlef) asked a question.
Hello,
Is it possible to export and import Okta tenant configs? Can the state of an Okta tenant be saved, exported, and imported into another tenant? It would be nice to save the state of our Okta Test tenant (as json or something) and store it in GitHub. By doing so, we could re-import the saved state stored in GitHub if our test configs ever strayed too far from our "master" configs. This feature would also be useful when propagating changes up to our Production Okta instance.
Best,
Jordan

Hi Jordan, Sergiu from Okta Support here. At this point, Okta does not provide an out of the box solution for this use case, but there are different workarounds.
1) If you want to replicate users/groups into a different tenant, you can set up through the use of an Okta Org2Org application, which acts as a Hub - Spoke configuration. It is based on a provisioning API + SAML - Identity Provider configuration. All you need to do is navigate to Application -> Add a New App and search for Org2Org, select the Okta app and follow the setup instructions.
2) If you want to export the app configuration, that can be done at this point by using APIs
(GET: https://${org}.okta.com/api/v1/apps/0oa1gjh63g214q0Hq0g4)
All the best!