# Creating a new component

New Discovery Framework components are extensions of the EndecaPortlet class.

To create a new component:

1. At a command prompt, navigate to the Component SDK directory, and from there to components/portlets.
2. Run the command `create.bat a-portlet-name-without-spaces "A Friendly Portlet Name"` where:
   - The first argument must not have spaces. The string -portlet is automatically appended to the name.
   - The second argument is intended to be a more human-friendly name. Spaces are allowed, but if the name has spaces, it must be enclosed in quotation marks.

   An example command would be `create.bat jons-test "Jon's Test Portlet"`