In the tutorial @
http://www.renderengine.com/tutorials/tutorial1_1.php
it shows you how to set up your render context and then add it to the
engine's default context:
/**
* Called to set up the game, download any resources, and
initialize
* the game to its running state.
*/
setup: function(){
// Set the FPS of the game
Engine.setFPS(this.engineFPS);
// Create the render context
this.fieldBox = Rectangle2D.create(0, 0, this.fieldWidth,
this.fieldHeight);
this.renderContext = CanvasContext.create("Playfield",
this.fieldWidth,
this.fieldHeight);
this.renderContext.setBackgroundColor("black");
// Add the new rendering context to the default engine
context
Engine.getDefaultContext().add(this.renderContext);
},