# Adding data sources to the Discovery Framework

It is possible to add new data sources to the Discovery Framework. Your Endeca components can then access the data sources you have added.

To add a data source to the Discovery Framework:

1. Create a new JSON file in endeca-portal\data\endeca-data-sources. For definition examples, see the sample data sources located in the same directory.
2. After creating the new file on disk, do one of the following:
   - Restart the Discovery Framework.
   - In the Control Panel, select Data Sources, and then click Update data sources.

Note: If your data source does not appear after completing step 2, it probably means that your data source definition file contains invalid JSON syntax. You can confirm this by looking for a message about invalid syntax in the Discovery Framework log df.log. Check the log, edit your syntax, and try the steps above again.