You don't "connect Xbox to EA" — you link your Xbox Live (Xbox Network) account to your EA Account for cross-progression, entitlements, and friend sync.
Launch an EA title on Xbox (FIFA, Madden, Apex, Battlefield) → Prompt: "Link EA Account" → Follow on-screen → Done.