You have to get permission for the Record label, Publishing Company and all songwriters involved... if any of them say no,,the sample can't be used.
They will be a fee involved and your giving up all or a large percentage of your songwriter royalties to use the sample.
you can use Harry Fox Agency to clear sample..but not all artists/labels/publishing co. use them..
also if you go through them online using Songfile you can't request reduced rates if you think it to much.
and you will more them likely give up you mechanical royalties for the song on all pressed and released units sold...