This paper proposes an optimal energy harvesting scheme for a power beacon-assisted wireless-powered relay network, where the relay node harvests energy from a power beacon to transmit signals. The analysis includes outage probability and power splitting protocols, revealing a closed-form expression for optimal energy harvesting to minimize system outage. Numerical simulations confirm that the proposed power splitting policy improves performance compared to fixed power allocations.