In the U.S., entrapment basically no longer exists. In order to use entrapment as a successful defense, you have to prove that you did not have the option to not commit a crime.
If L.E. convinces you to do a crime, that is not entrapment. If L.E. points a gun to your head, you can use entrapment as a defense. If L.E. offers you a kilo for 5 dollars and swear they are not a cop, that is not entrapment. If L.E. threatens your family if you don't but that kilo, that may be entrapment.
L.E. giving you the opportunity to commit a crime isn't entrapment. It's only entrapment if you are being forced to commit the crime. Like you or your family will get hurt if you don't do it.
The last time a case successfully used entrapment as a defense, as far as I am aware, was in the 80's.
L.E. is never going to put themselves in a situation were entrapment would get someone off the hook.
wikibot what is entrapment?