download extension from http://www.yiiframework.com/extension/bootstrap/ paste all bootstrap extensions folders what you have download under extensions/bootstrap config/main.php Add before starting of array Yii::setPathOfAlias(‘bootstrap’, dirname(__FILE__).’/../extensions/bootstrap’); add under return array `’theme’=>’bootstrap’, ‘modules’=>array( ‘gii’=>array( ‘generatorPaths’=>array( ‘bootstrap.gii’, ), ), ), ` add in under componentes ‘bootstrap’=>array( ‘class’=>’bootstrap.components.Bootstrap’, extensions/boostrap/components/Bootstrap.php paste code in class public function init() { $this->registerAllCss(); $this->registerJs(); parent::init();