Welcome to the forum. In what way would you like to put the motor on the bicycle? If you want to put it inframe you can check out my build In the DIY section under Poulan chainsaw build. Too lazy to find the link. Or you can just checkout the entire DIY section. Many people there have built many bikes with chainsaw motors. Mostly friction drive but some have used different methods.
A little warning. Chainsaws are not the easiest thing to put on a bicycle.