Use embedding and the API

Follow