How to extend Tyk with Lua

Rich plugins make it possible to write powerful Lua middleware for Tyk.

The dynamically built Tyk binaries can expose and call Foreign Function Interfaces in guest languages that extend the functionality of a gateway process.

The plugins are able to directly call some Tyk API functions from within Lua. They can also be configured so that they hook into various points along the standard middleware chain.

We’ve created documentation to help you write Lua plugins for Tyk. Use the links below to find out more.

Tyk Lua Documentation

Lua GRPC example