# Json based configuration to register routes and services in Kong

**URL:** <https://discuss.konghq.com/t/json-based-configuration-to-register-routes-and-services-in-kong/13288>\
**Category:** Questions\
**Tags:** kong-gateway\
**Created:** [December 30, 2024, 7:11am UTC](https://discuss.konghq.com/t/json-based-configuration-to-register-routes-and-services-in-kong/13288 "2024-12-30T07:11:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prithvi.singh](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@prithvi.singh](https://discuss.konghq.com/u/prithvi.singh)\
**Post date:** [December 30, 2024, 7:11am UTC](https://discuss.konghq.com/t/json-based-configuration-to-register-routes-and-services-in-kong/13288/1 "2024-12-30T07:11:16Z")

</div>

Hi team,  
I am trying to register my routes and services in kong. I already know the curl based method to register them as shown in the doc here [Services and Routes - Kong Gateway | Kong Docs](https://docs.konghq.com/gateway/latest/get-started/services-and-routes/#managing-services).

However, does anyone know any file based method (possibly json) so that all my route and service configuration are loaded from this file and I don’t have to manually call curls.

---

<div class="post-metadata">

**Author:** ![prithvi.singh](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@prithvi.singh](https://discuss.konghq.com/u/prithvi.singh)\
**Post date:** [December 30, 2024, 7:21am UTC](https://discuss.konghq.com/t/json-based-configuration-to-register-routes-and-services-in-kong/13288/2 "2024-12-30T07:21:44Z")

</div>

Found the answer. This is already solved by

> [@Kong configuration from a file](https://discuss.konghq.com/t/kong-configuration-from-a-file/4288/1):
>
> I am aware of Kong Admin APIs where we can create new Service/Route etc. So the whole configuration is based on Admin APIs. Is there a way to load this configuration (create service, user, route etc…) from a file?
