CakePHP-Sitemap Plugin

i am new in cakephp 3
i want to use this plugin
loadsys/CakePHP-Sitemap


to create sitemap
i install it by composer and load it in config/bootstrap.php
but i don’t where i can put
Configure::write(‘Sitemap.tables’, [
‘Pages’,
‘Sites’,
‘Camps’,
]);
and
public function getUrl(\Cake\ORM\Entity $entity) {
return \Cake\Routing\Router::url(
[
‘prefix’ => false,
‘plugin’ => false,
‘controller’ => $this->registryAlias(),
‘action’ => ‘display’,
$entity->display_id,
],
true
);
}
plz can anybody help me??

This should be put at the bottom of bootstrap.php