how to use cred