York Elderberry

I have very mature York Elderberry (Sambucus Canadensis – York) plants that produce lot of fruit. I understand these are toxic and cannot be eaten raw. Is it okay to add the ripened or un-ripened (green) fruit of the York…