Inigo GraphQL

Third Party
Related Documentation
Compatible Protocols
http https
Related Resources
Third Party: This plugin is developed, tested, and maintained by Inigo.

Inigo offers complete visibility, control, and security for your production GraphQL APIs, enabling you to confidently adopt and scale GraphQL with the Inigo Kong plugin.

Designed specifically for GraphQL APIs, this plugin provides:

  • Deep API analytics
  • Schema-based role-based access control (RBAC)
  • Performance and error monitoring
  • Dynamic rate limiting
  • Prevention of breaking schema changes

Inigo’s plugin gives you unique, in-depth insights into GraphQL usage, from granular field-level details to full query paths, along with overall server health and performance metrics. It enforces security policies, modifies or blocks malicious queries before they reach your GraphQL servers, and alerts you to any API issues.

How the Inigo plugin works

The Inigo plugin can be enabled on any GraphQL API route.

  1. It syncs with a service configured in Inigo using the provided service token.
  2. The plugin enforces access control, rate limits, and other security policies configured in your Inigo service.
  3. Requests are batched and sent asynchronously to Inigo, ensuring no added latency to your API.
  4. The data is then analyzed in the cloud, matched against your GraphQL schema, and presented with full observability and insights into your API’s performance.

Install the Inigo plugin

You can install the Inigo GraphQL plugin via LuaRocks. A Lua plugin is distributed in .rock format, which is a self-contained package that can be installed locally or from a remote server.

  1. Install the Inigo GraphQL plugin:

    luarocks install inigo-kong-plugin
    
  2. Update your loaded plugins list in Kong Gateway.

    In your kong.conf, append inigo to the plugins field. Make sure the field isn’t commented out.

    plugins = bundled,inigo
    
  3. Download the Inigo library:

    1. Find the library for your architecture. Library file names start with inigo-.
    2. Download and copy the library into your kong run directory.
  4. Obtain and set the Inigo Service Token:

    1. Create a service and token in Inigo.
    2. Set the INIGO_SERVICE_TOKEN environment variable with the token’s value.
  5. Restart Kong Gateway:

    kong restart
    
Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!