How To Serve Plugins

Last updated: 1 minute read.

If you are using gRPC, please visit the gRPC section, as you don’t add plugin files to the Tyk Gateway for it to read, it will simply make a connection to your gRPC server.

For everything else, there are two ways to add custom plugins:

  1. Publish the plugin on an HTTP Server so the Gateway can download it. This is called Bundling.

  2. Mount your custom plugin on the Gateway’s file system. Find examples under your favorite programming language under Supported Languages

Approach #2 Examples

JavaScript pre plugin - modify header

GoLang auth plugin - check User credentials against AWS DynamoDB