# Using TERR for Advanced Analytics in Spotfire

TERR is embedded in Spotfire and is used in various ways.

- You can use the predictive analytics tools built into Spotfire (which use the TERR engine "behind the scenes").
- You can access the engine directly using the TERR Tools in Spotfire to prototype, test, and debug functions.
- You can write ad hoc custom expressions that call TERR functions.
- You can write TERR data functions to store in the Spotfire library to reuse.

This documentation includes reference, information, example data sets, and walk-through tasks to help you learn how to use TERR in Spotfire.