password setting for calendar/contacts

Can someone tell me the right password to use in the account settings for calendar and caldav?  Email account password or iCloud password (Apple ID).  This is for syncing with the iWorld.

Used to work but after messing with deleting/creating new accts. I get a pop-up saying can’t authenticate. It does not seem to be happy with either and the iStuff does not sync.

I can send/receive email fine.

Thanks.