Store documents data in a base