Embedding documents in the HUB