add an example of embedding terminal