Analytics Manager > Customizing Analytics Manager > Working with Analysis Routers > Create a Custom Router Template
  
Create a Custom Router Template
For a customized analysis connector, you can use a customized router template. All custom routers templates must use the TW.AnalysisServices.RouterTemplate router template provided with Analytics Manager.
To create a custom router template, while you are creating a thing template in ThingWorx Composer, use TW.AnalysisServices.RouterTemplate as the base thing template.
* 
Update the GetNextClient and GetClientToDisconnect services on the thing that you created to write your own client routing logic in JavaScript.
After you create a customized router template, you must assign the router template to an analysis connector. For more information, see Assign a Router Template to an Analysis Connector.