## Adding JReport Portlet to the portal server

When JReport Portlet is successfully deployed to the portal server, the next step is to add it to the portal server, so that you can work on the reports you have published to the JReport Webservice Server, which are also available in JReport Portlet. This section explains adding JReport Portlet to WebSphere Portal, JBoss Portal and Liferay specifically.

### Adding to WebSphere Portal

To add JReport Portlet to WebSphere Portal, follow these steps:

1. Start WebSphere Portal Server, open a web browser and set the URL to `http://hostname:10038/wps/myportal.`
2. On the WebSphere Portal home page, click Launch to open the main menu.
3. On the main menu, click Administration > Manage Pages. The Manage Pages page is then displayed.
4. Click the Content Root link in the My pages table, and then click the New Page button to access the Page Properties page.
5. Specify the title of the page as JReport in the Title text field, then click OK to add the page.
6. Click Launch again to open the main menu, then click JReport on the menu to access the JReport page.
7. Click at the upper right corner of the page to open the portlet palette.
8. Enter JReport in the Search field, then click . JReport Portlet View is then displayed in the search result list.
9. Drag the portlet to the JReport page.

### Adding to JBoss Portal

To add JReport Portlet to JBoss Portal, follow these steps:

1. Start JBoss Portal Server, open a web browser and set the URL to `http://localhost:8080/portal.`
2. Click Login in the upper right corner of the JBoss Portal page.
3. In the JBoss Login Portal dialog, enter admin for Username and admin for Password, then click Login.
4. On the JBoss Portal home page, click Admin at the upper right corner, then click the Admin tab.
5. Click the Portlet Definitions sub tab, and then click the Create instance link in the JReport Portlet View row.
6. In the JReport Portlet View instance creation dialog, enter JReport in the Create an instance named text field, and then click the Create instance button.
7. In the Portlet Instances sub tab, enter JReport in the Add Instance Display Names text field, select English in the Locale drop-down list and click Add Name.
8. Click Dashboard > Configure dashboard at the upper right corner of the JBoss Portal page.
9. In the Create a New Page dialog, specify JReport in the Page name text field, then click Save to create the page.
10. Enter JReport in the Window Name text field, click Add button in the Page Layout panel, then the JReport page will be added to the Portlet Instance associated to this window box.
11. Click Dashboard at the upper right corner to return to the JBoss Portal home page.
12. Now you can see the JReport tab is added on the JBoss Portal page.

### Adding to Liferay

To add JReport Portlet to Liferay, follow these steps:

1. Start Liferay, open a web browser and set the URL to `http://localhost:8080` to access the Liferay home page.
2. Point to Welcome at the upper right corner of the home page, then click Sign In.
3. In the Sign in with a regular account box, enter test@liferay.com for Login and test as the password, then click SIGN IN.
4. On the Liferay home page, click Add Page, enter JReport in the page name text field, then click Save. A tab named JReport is then added.
5. Click the JReport tab, then expand the Welcome Joe Bloggs list and click Add Content on the list.
6. In the Add Content dialog, click on JReport and then click the Add button to add one JReport Portlet View window. You can add several windows according to your requirements by clicking the Add button.
7. Close the Add Content dialog. Now JReport Portlet is ready on Liferay.