# Building and testing your new component

Next, you can build your new component in Eclipse and ensure that it appears in the Discovery Framework.

To build your new component in Eclipse:

1. In your new project, open the build.xml file at the top level.
2. In the outline view, right-click the deploy task and select Run as... > Ant Build.
   Note: This step is only necessary if you do not have Build Automatically checked in the Eclipse Project menu.
3. If the Discovery Framework is not already running, log on to the Discovery Framework and sign in.
4. Look at the Discovery Framework logs to confirm that the component was picked up successfully.
5. Test your new component within the Discovery Framework by choosing Add Application and looking in the Sample category. Add the new component to your page by dragging and dropping it.