---
agentTools:
  projectIndex: https://opencontent.readme.io/v3.2/llms.txt
---

# External Datasources

[block:api-header]
{
  "type": "basic",
  "title": "IDatasource"
}
[/block]

The OpenContent Templating system can be used with external datasources.

To create an OpenContent DataSource you just create a class that implements the **Satrabel.OpenContent.Components.Datasource.IDataSource** interface.

Alternatively you can also inherit from the default abstract class **DefaultDataSource** (in the same namespace as the interface) that already implements simple (non-optimized, so suitable for small datasets <1000) read queries.