To get the anticheat resource you have to access keymaster.fivem.net and download the resource from granted assets.
For installation you can create an additional category folder for your anticheat, for example [ac] which has to be ensured as first resource in server.cfg, above your resources list.
Inside the category you can add the anticheat resource rac and its dependency ox_lib.
The resource may not start if you did not start the dependency ox_lib or the server license does not belong to the account you have the anticheat resource on. In case the resource does not start because you use a server license from another account you will get the console print: You lack the entitlements required to use rac. In this situation you have to ensure that the anticheat resource and server license are on the same keymaster account because the anticheat resource is encrypted with escrow system provided by FiveM. You should check the server console to see the messages if the anticheat does not start and fix the issue based on console messages.
ensure [ac]ensure [resources]
Based on your server you should build your own config file situated in rac resource in cfg folder even though it is already pre-configured.
Beside the config file you should add your webhooks.
Why does the resource not start and it shows this message?:
You lack the entitlements required to use rac
As mentioned above, you have to ensure that the anticheat resource and server license are on the same keymaster account. In order to make anticheat resource work, you have to use the server license from the same keymaster account from where you got the anticheat resource or transfer the anticheat resource to the account from where you use the server license.
Any resource from keymaster can be transferred once
How can I transfer the anticheat resource to other account?
To transfer your anticheat resource to another keymaster account, you have to access your keymaster account at Granted Assets. In your Granted Assets you have to locate the anticheat resource named rac. There is a button to the right of download button, marked with an arrow, and by pressing the arrow, you have to press the Transfer to another account button. After you pressed the Transfer to another account button, you have to enter the username where to transfer the anticheat resource. You will receive an e-mail to confirm your action. When the anticheat resource will be transfered to the account from where you use the server license, the anticheat resource will work.