We have guides here how to get along with Bears. You get them each time for free when you enter Canada Parks (such as Jasper & Banff).
No where do they read to use a gun for self defense against a Bear.
Safe travel in bear country
The Canadian Rocky Mountains are home to both grizzly and black bears. You can run into a bear anywhere here, be it on a busy trail close to town or in the remote backcountry. Bears generally prefer to avoid people. However, encounters between bears and people do occur.