With the bike supported, remove the rear shocks and raise the back wheel until the swinging arm holds the wheel furthest away from the engine sprocket.
Adjust the wheel so that there is a small amount of chain slack. When the wheel is lowered back down and shocks put back on, the tensioner will take up the extra slack.
Take note of the gap between rubber pad and swinging arm and set to this distance when wheel adjusted.