There's a variety of ways to implement it. A common way is that you purchase your shares from the company for par value (e.g. $0.000001 per share) and the company has the right to repurchase them for par value, with the number of shares subject to repurchase declining over time as shares vest.