How to enable template for captcha generation for applications through f5

Can anyone explain how to create a template and rule for captcha template in applications through f5…!