Use Business Analytics Connect for Javascript
You use PC4JS to connect custom apps, web applications or web sites to the Business Analytics Server and invoke mashable information sources or mashups. This JavaScript API is hosted with the Business Analytics Server and uses the Business Analytics REST API.
This topic covers the basics of using PC4JS to create a connection to the Business Analytics Server, send a request to invoke a mashable or mashup and handle a response in two different contexts: