The extension is configured in the JMap Admin project configuration page:
Open the NG Configuration tab.
Drop the javascript code that will be executed when opening, then save.
Once the javascript code is saved, activate the extension in the Extensions section of a project configuration page. Make sure the code is functional before activating the extension, otherwise errors may occur when opening JMap NG for current users of the project.
Configuration examples
The following code adds an Atari logo and a base map from Geogratis. It also zooms to coordinates 45.630701447925134, -73.54322795543986 :