Pablo Sandoval has agreed to sign with the San Francisco Giants.

The Boston Red Sox designated Sandoval for assignment last week.