Attach config to session