Communicating between Slate application and embedded JavaScript applciation

Per the docs, looks like it should be possible. Check out the interaction section which walks through how to pass data back to the state which can then be used by the rest of slate.